unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to temporarily remove a function from a hook?
@ 2009-07-09  1:40 Kevin Rodgers
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2009-07-09  1:40 UTC (permalink / raw)
  To: help-gnu-emacs

What is the right way to temporarily remove a function from a hook?


My best guess is:

(let ((foo-hook (progn (remove-hook 'bar 'foo-hook) foo-hook)))
   ...)

-- 
Kevin Rodgers
Denver, Colorado, USA





^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <mailman.2124.1247103655.2239.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2009-07-09 11:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-09  1:40 how to temporarily remove a function from a hook? Kevin Rodgers
     [not found] <mailman.2124.1247103655.2239.help-gnu-emacs@gnu.org>
2009-07-09  2:42 ` Pascal J. Bourguignon
2009-07-09  4:04   ` Barry Margolin
2009-07-09 11:14     ` Johan Bockgård

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