changeset 76684:20327b8e8725

(c-make-emacs-variables-local): Use `mapcar' rather than `mapcan' to silence compiler warning.
author David Kastrup <dak@gnu.org>
date Fri, 23 Mar 2007 09:52:42 +0000
parents d3f3c39adbcd
children fe088e460c01
files lisp/ChangeLog lisp/progmodes/cc-mode.el
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Mar 23 03:48:03 2007 +0000
+++ b/lisp/ChangeLog	Fri Mar 23 09:52:42 2007 +0000
@@ -1,3 +1,8 @@
+2007-03-23  David Kastrup  <dak@gnu.org>
+
+	* progmodes/cc-mode.el (c-make-emacs-variables-local): Use
+	`mapcar' rather than `mapcan' to silence compiler warning.
+
 2007-03-22  Ralf Angeli  <angeli@caeruleus.net>
 
 	* textmodes/reftex.el: Add maintainer address.
--- a/lisp/progmodes/cc-mode.el	Fri Mar 23 03:48:03 2007 +0000
+++ b/lisp/progmodes/cc-mode.el	Fri Mar 23 09:52:42 2007 +0000
@@ -158,8 +158,8 @@
 ;; These are typically standard emacs variables such as `comment-start'.
 (defmacro c-make-emacs-variables-local ()
   `(progn
-     ,@(mapcan (lambda (init)
-		 `((make-local-variable ',(car init))))
+     ,@(mapcar (lambda (init)
+		 `(make-local-variable ',(car init)))
 	       (cdr c-emacs-variable-inits))))
 
 (defun c-init-language-vars-for (mode)