From 7a147065e48f0cd1b29e7d1fe7e6f0bb8944eea0 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Fri, 23 Mar 2007 09:52:42 +0000 Subject: [PATCH] (c-make-emacs-variables-local): Use `mapcar' rather than `mapcan' to silence compiler warning. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/cc-mode.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dea8fab87ba..cfd79d1772d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-03-23 David Kastrup + + * progmodes/cc-mode.el (c-make-emacs-variables-local): Use + `mapcar' rather than `mapcan' to silence compiler warning. + 2007-03-22 Ralf Angeli * textmodes/reftex.el: Add maintainer address. diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index 1407b497305..4e0b92d107c 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el @@ -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) -- 2.39.5