From: Juanma Barranquero <lekktu@gmail.com>
Date: Wed, 26 Sep 2007 00:14:38 +0000 (+0000)
Subject: (generic-mode-internal): Use `mapc' rather than `mapcar'.
X-Git-Tag: emacs-pretest-23.0.90~10641
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ba2153737a67dfb6631f78b991ed59612dcd4b83;p=emacs.git

(generic-mode-internal): Use `mapc' rather than `mapcar'.
---

diff --git a/lisp/emacs-lisp/generic.el b/lisp/emacs-lisp/generic.el
index d57e7ca7657..805507adb49 100644
--- a/lisp/emacs-lisp/generic.el
+++ b/lisp/emacs-lisp/generic.el
@@ -205,7 +205,7 @@ See the file generic-x.el for some examples of `define-generic-mode'."
     (setq font-lock-defaults '(generic-font-lock-keywords))
 
     ;; Call a list of functions
-    (mapcar 'funcall function-list)
+    (mapc 'funcall function-list)
 
     (run-mode-hooks mode-hook)))