emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-styles.el,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-styles.el,v
Date: Sat, 13 Oct 2007 03:01:12 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       07/10/13 03:01:12

Index: cc-styles.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/cc-styles.el,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- cc-styles.el        26 Jul 2007 05:27:24 -0000      1.45
+++ cc-styles.el        13 Oct 2007 03:01:12 -0000      1.46
@@ -381,7 +381,7 @@
       ;; fallback entry.
       (setq c-special-indent-hook
            (default-value 'c-special-indent-hook)))
-    (mapcar (lambda (elem)
+    (mapc (lambda (elem)
              (c-set-style-1 elem dont-override))
            ;; Need to go through the variables backwards when we
            ;; don't override any settings.
@@ -636,7 +636,7 @@
                'make-variable-buffer-local))
        (varsyms (cons 'c-indentation-style (copy-alist c-style-variables))))
     (delq 'c-special-indent-hook varsyms)
-    (mapcar func varsyms)
+    (mapc func varsyms)
     ;; Hooks must be handled specially
     (if this-buf-only-p
        (make-local-hook 'c-special-indent-hook)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]