> From: [EMAIL PROTECTED] > Date: 8 Aug 2005 13:21:13 -0700 > > rgb wrote: > > > > This line appears in remove-hook. > > > > (setq hook-value (delete function (copy-sequence hook-value))) > > > > It makes me think that a change to the hook's value will not > > be visible to the present execution of the run-hooks command. > > So I'd say it appears to be perfectly safe. > > Yes, it seems OK. However I wonder why it is not simply > > (setq hook-value (remove function hook-value)) > > remove also returns a copy. Is there a difference?
`remove' is part of the cl library which isn't supposed to be used in core Emacs. _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs