aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/custom.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/custom.el b/lisp/custom.el
index ea7afc45fc5..ef0fce7ecb4 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -137,8 +137,8 @@ not the default value itself."
137 ((eq keyword :options) 137 ((eq keyword :options)
138 (if (get symbol 'custom-options) 138 (if (get symbol 'custom-options)
139 ;; Slow safe code to avoid duplicates. 139 ;; Slow safe code to avoid duplicates.
140 (mapcar (lambda (option) 140 (mapc (lambda (option)
141 (custom-add-option symbol option)) 141 (custom-add-option symbol option))
142 value) 142 value)
143 ;; Fast code for the common case. 143 ;; Fast code for the common case.
144 (put symbol 'custom-options (copy-sequence value)))) 144 (put symbol 'custom-options (copy-sequence value))))
@@ -453,7 +453,7 @@ COMMENT is a comment string about SYMBOL."
453 set) 453 set)
454 (when requests 454 (when requests
455 (put symbol 'custom-requests requests) 455 (put symbol 'custom-requests requests)
456 (mapcar 'require requests)) 456 (mapc 'require requests))
457 (setq set (or (get symbol 'custom-set) 'custom-set-default)) 457 (setq set (or (get symbol 'custom-set) 'custom-set-default))
458 (put symbol 'saved-value (list value)) 458 (put symbol 'saved-value (list value))
459 (put symbol 'saved-variable-comment comment) 459 (put symbol 'saved-variable-comment comment)