aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2000-03-26 00:12:35 +0000
committerStefan Monnier2000-03-26 00:12:35 +0000
commitd488166820e1e38ca2d0cb03ced717b81dc2901c (patch)
tree23762f2f27d47f08234b475393d804073bf0b642
parente8c7d424556f71b3f4c73747e171731a5c1853f1 (diff)
downloademacs-d488166820e1e38ca2d0cb03ced717b81dc2901c.tar.gz
emacs-d488166820e1e38ca2d0cb03ced717b81dc2901c.zip
(hook): Use `dolist' instead of CL's `mapc'.
-rw-r--r--lisp/cus-edit.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 90a7db3b9b9..50759537ecb 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -2940,10 +2940,9 @@ restoring it to the state of a face that has never been customized."
2940 ;; things like `find-file-hook' or even more basic ones, to avoid 2940 ;; things like `find-file-hook' or even more basic ones, to avoid
2941 ;; chaos. 2941 ;; chaos.
2942 :set (lambda (symbol value) 2942 :set (lambda (symbol value)
2943 (mapc (lambda (elt) 2943 (dolist (elt value)
2944 (if (fboundp elt) 2944 (if (fboundp elt)
2945 (add-hook symbol elt))) 2945 (add-hook symbol elt))))
2946 value))
2947 :convert-widget 'custom-hook-convert-widget 2946 :convert-widget 'custom-hook-convert-widget
2948 :tag "Hook") 2947 :tag "Hook")
2949 2948