HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8c7d42
)
(hook): Use `dolist' instead of CL's `mapc'.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 26 Mar 2000 00:12:35 +0000
(
00:12
+0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 26 Mar 2000 00:12:35 +0000
(
00:12
+0000)
lisp/cus-edit.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/cus-edit.el
b/lisp/cus-edit.el
index
90a7db3
..
5075953
100644
(file)
--- 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."
;; 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")