unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* remove-hook.
@ 2003-10-07 13:25 Lute Kamstra
  2003-10-07 13:40 ` remove-hook Luc Teirlinck
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Lute Kamstra @ 2003-10-07 13:25 UTC (permalink / raw)


The last sentence of remove-hook's docstring puzzles me:

,----[ C-h f remove-hook RET ]
| remove-hook is a compiled Lisp function in `subr'.
| (remove-hook HOOK FUNCTION &optional LOCAL)
| 
| Remove from the value of HOOK the function FUNCTION.
| HOOK should be a symbol, and FUNCTION may be any valid function.  If
| FUNCTION isn't the value of HOOK, or, if FUNCTION doesn't appear in the
| list of hooks to run in HOOK, then nothing is done.  See `add-hook'.
| 
| The optional third argument, LOCAL, if non-nil, says to modify
| the hook's buffer-local value rather than its default value.
| This makes the hook buffer-local if needed.
`----

When does remove-hook need to make a hook buffer-local to remove a
function from it?

  Lute.

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

end of thread, other threads:[~2003-10-11 17:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-07 13:25 remove-hook Lute Kamstra
2003-10-07 13:40 ` remove-hook Luc Teirlinck
2003-10-07 13:42 ` remove-hook Stefan Monnier
2003-10-07 14:00   ` remove-hook Lute Kamstra
2003-10-07 14:59     ` remove-hook Stefan Monnier
2003-10-07 15:13       ` remove-hook Lute Kamstra
2003-10-07 15:24         ` remove-hook Stefan Monnier
2003-10-07 22:04         ` remove-hook Luc Teirlinck
2003-10-08  4:52     ` remove-hook Richard Stallman
2003-10-10 14:25       ` remove-hook Lute Kamstra
2003-10-11 17:12         ` remove-hook Richard Stallman
2003-10-08  4:52 ` remove-hook Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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