diff lisp/emacs-lisp/generic.el @ 84901:c22466a5f332

(generic-mode-internal): Use `mapc' rather than `mapcar'.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 26 Sep 2007 00:14:38 +0000
parents 935157c0b596
children 107ccd98fa12 bdb3fe0ba9fa
line wrap: on
line diff
--- a/lisp/emacs-lisp/generic.el	Wed Sep 26 00:14:17 2007 +0000
+++ b/lisp/emacs-lisp/generic.el	Wed Sep 26 00:14:38 2007 +0000
@@ -205,7 +205,7 @@
     (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)))