changeset 32225:15a7324321bb

(custom-declare-variable, custom-set-variables): Use mapc.
author Dave Love <fx@gnu.org>
date Fri, 06 Oct 2000 18:30:32 +0000
parents 37da59aaf72f
children 2af46c6c8bde
files lisp/custom.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/custom.el	Fri Oct 06 18:16:18 2000 +0000
+++ b/lisp/custom.el	Fri Oct 06 18:30:32 2000 +0000
@@ -137,8 +137,8 @@
 		((eq keyword :options)
 		 (if (get symbol 'custom-options)
 		     ;; Slow safe code to avoid duplicates.
-		     (mapcar (lambda (option)
-			       (custom-add-option symbol option))
+		     (mapc (lambda (option)
+			     (custom-add-option symbol option))
 			     value)
 		   ;; Fast code for the common case.
 		   (put symbol 'custom-options (copy-sequence value))))
@@ -453,7 +453,7 @@
 		 set)
 	    (when requests
 	      (put symbol 'custom-requests requests)
-	      (mapcar 'require requests))
+	      (mapc 'require requests))
 	    (setq set (or (get symbol 'custom-set) 'custom-set-default))
 	    (put symbol 'saved-value (list value))
 	    (put symbol 'saved-variable-comment comment)