mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-17 19:30:38 -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
|
;; things like `find-file-hook' or even more basic ones, to avoid
|
||||||
;; chaos.
|
;; chaos.
|
||||||
:set (lambda (symbol value)
|
:set (lambda (symbol value)
|
||||||
(mapc (lambda (elt)
|
(dolist (elt value)
|
||||||
(if (fboundp elt)
|
(if (fboundp elt)
|
||||||
(add-hook symbol elt)))
|
(add-hook symbol elt))))
|
||||||
value))
|
|
||||||
:convert-widget 'custom-hook-convert-widget
|
:convert-widget 'custom-hook-convert-widget
|
||||||
:tag "Hook")
|
:tag "Hook")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue