]> git.eshelyaron.com Git - emacs.git/commitdiff
(custom-declare-variable, custom-set-variables): Use mapc.
authorDave Love <fx@gnu.org>
Fri, 6 Oct 2000 18:30:32 +0000 (18:30 +0000)
committerDave Love <fx@gnu.org>
Fri, 6 Oct 2000 18:30:32 +0000 (18:30 +0000)
lisp/custom.el

index ea7afc45fc5c0e333488d01d9aaea7a32fa647a2..ef0fce7ecb49985b06df7137182665acb53e003a 100644 (file)
@@ -137,8 +137,8 @@ not the default value itself."
                ((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 @@ COMMENT is a comment string about SYMBOL."
                 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)