1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(hook): Use dolist' instead of CL's mapc'.

This commit is contained in:
Stefan Monnier 2000-03-26 00:12:35 +00:00
parent e8c7d42455
commit d488166820

View file

@ -2940,10 +2940,9 @@ restoring it to the state of a face that has never been customized."
;; things like `find-file-hook' or even more basic ones, to avoid
;; chaos.
:set (lambda (symbol value)
(mapc (lambda (elt)
(if (fboundp elt)
(add-hook symbol elt)))
value))
(dolist (elt value)
(if (fboundp elt)
(add-hook symbol elt))))
:convert-widget 'custom-hook-convert-widget
:tag "Hook")