changeset 84897:992e87082552

(easy-mmode-define-syntax): Use `mapc' rather than `mapcar'.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 26 Sep 2007 00:12:23 +0000
parents 5b112f6186e3
children 11d8147c948d
files lisp/emacs-lisp/easy-mmode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/easy-mmode.el	Wed Sep 26 00:11:46 2007 +0000
+++ b/lisp/emacs-lisp/easy-mmode.el	Wed Sep 26 00:12:23 2007 +0000
@@ -456,7 +456,7 @@
       (let ((char (car cs))
 	    (syntax (cdr cs)))
 	(if (sequencep char)
-	    (mapcar (lambda (c) (modify-syntax-entry c syntax st)) char)
+	    (mapc (lambda (c) (modify-syntax-entry c syntax st)) char)
 	  (modify-syntax-entry char syntax st))))
     (if parent (set-char-table-parent
 		st (if (symbolp parent) (symbol-value parent) parent)))