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:
parent
e8c7d42455
commit
d488166820
1 changed files with 3 additions and 4 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue