unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* need help with editing multiple files in a directory
@ 2007-07-19 15:52 bittna
  2007-07-19 16:24 ` Pascal Bourguignon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bittna @ 2007-07-19 15:52 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,
  I have multiple files in a directory that need a line added at a
certain point in the file.  I wrote a lisp expression to do it, but I
have to load the file, then run the command on the buffer, the save
the file and I lose my place.  I used dired to do a find and replace
on all of the files I needed, but how do I run my lisp expression on
all of the files?

Also how do I loop through all the buffers using lisp and switch into
each buffer and do something, then move to the next buffer?

Thanks!!!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-20  5:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-19 15:52 need help with editing multiple files in a directory bittna
2007-07-19 16:24 ` Pascal Bourguignon
2007-07-19 20:55 ` Joel J. Adamson
2007-07-19 22:49 ` Colin S. Miller
2007-07-20  5:33 ` Mathias Dahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).