unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Using interactive functions in functions
@ 2002-12-06 21:24 Bill Wohler
  0 siblings, 0 replies; 3+ messages in thread
From: Bill Wohler @ 2002-12-06 21:24 UTC (permalink / raw)


  Consider the following fragment which runs tags-query-replace on a
  number of strings:

    (let ((strings '("foo" "bar")))
      (while strings
	(tags-query-replace (car strings) "newstring")
	(setq strings (cdr strings)))

  However, this loop ends when tags-query-replace returns the first time
  so "bar" is never replaced.

  What magic do I need to wrap tags-query-replace in to continue with
  the rest of the strings?

--
Bill Wohler <wohler@newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.

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

end of thread, other threads:[~2002-12-06 23:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1039209908.7595.help-gnu-emacs@gnu.org>
2002-12-06 21:49 ` Using interactive functions in functions Michael Slass
2002-12-06 23:18 ` Stefan Monnier <foo@acm.com>
2002-12-06 21:24 Bill Wohler

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).