diff options
| author | David Kastrup | 2007-03-23 09:52:42 +0000 |
|---|---|---|
| committer | David Kastrup | 2007-03-23 09:52:42 +0000 |
| commit | 7a147065e48f0cd1b29e7d1fe7e6f0bb8944eea0 (patch) | |
| tree | 167e3a1808f5f5c6b551db69ebb53f722cd2836e | |
| parent | 18d534c9df9af2d847c0ad9037a25b5ff562e66a (diff) | |
| download | emacs-7a147065e48f0cd1b29e7d1fe7e6f0bb8944eea0.tar.gz emacs-7a147065e48f0cd1b29e7d1fe7e6f0bb8944eea0.zip | |
(c-make-emacs-variables-local): Use
`mapcar' rather than `mapcan' to silence compiler warning.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2007-03-23 David Kastrup <dak@gnu.org> | ||
| 2 | |||
| 3 | * progmodes/cc-mode.el (c-make-emacs-variables-local): Use | ||
| 4 | `mapcar' rather than `mapcan' to silence compiler warning. | ||
| 5 | |||
| 1 | 2007-03-22 Ralf Angeli <angeli@caeruleus.net> | 6 | 2007-03-22 Ralf Angeli <angeli@caeruleus.net> |
| 2 | 7 | ||
| 3 | * textmodes/reftex.el: Add maintainer address. | 8 | * 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 @@ | |||
| 158 | ;; These are typically standard emacs variables such as `comment-start'. | 158 | ;; These are typically standard emacs variables such as `comment-start'. |
| 159 | (defmacro c-make-emacs-variables-local () | 159 | (defmacro c-make-emacs-variables-local () |
| 160 | `(progn | 160 | `(progn |
| 161 | ,@(mapcan (lambda (init) | 161 | ,@(mapcar (lambda (init) |
| 162 | `((make-local-variable ',(car init)))) | 162 | `(make-local-variable ',(car init))) |
| 163 | (cdr c-emacs-variable-inits)))) | 163 | (cdr c-emacs-variable-inits)))) |
| 164 | 164 | ||
| 165 | (defun c-init-language-vars-for (mode) | 165 | (defun c-init-language-vars-for (mode) |