Parker, Matthew <[EMAIL PROTECTED]> wrote: > Yes, but this would require I first move to the buffer to write to, do > the insert, then move back to the buffer I'm searching in. >
That's what with-current-buffer is for I believe: (with-current-buffer <some-buffer> (insert "foo")) HTH, Nick > > -----Original Message----- > From: Bernt Hansen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2008 11:03 PM > To: Parker, Matthew > Cc: emacs-orgmode@gnu.org > Subject: Re: (prepend-to-buffer "buffer-name" "string") > > See the builtin function 'insert' > > (insert "string to insert") > > -Bernt > > > "Parker, Matthew" <[EMAIL PROTECTED]> writes: > > > I've reviewed a lot of the docs, but maybe missed something... Is > there a > > function that allows you to just insert text into a buffer. i.e. just > like > > (prepend-to-buffer buffer-name start stop)... but instead of passing a > start and > > a stop, you can just pass a string. > > > > Thanks, > > > > matt > > > > > > _______________________________________________ > > Emacs-orgmode mailing list > > Remember: use `Reply All' to send replies to the list. > > Emacs-orgmode@gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode