]> git.eshelyaron.com Git - emacs.git/commitdiff
(ebnf-map-name, ebnf-dimensions): Use mapc rather than mapcar.
authorGlenn Morris <rgm@gnu.org>
Sat, 13 Oct 2007 02:59:56 +0000 (02:59 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 13 Oct 2007 02:59:56 +0000 (02:59 +0000)
lisp/progmodes/ebnf2ps.el

index be25293c643d280ae6db666cc8f399444da680d1..66aefe660455cfbad2bed118c60afa3205af883d 100644 (file)
@@ -5004,11 +5004,11 @@ killed after process termination."
 
 (defvar ebnf-map-name
   (let ((map (make-vector 256 ?\_)))
-    (mapcar #'(lambda (char)
-               (aset map char char))
-           (concat "#$%&+-.0123456789=?@~"
-                   "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
-                   "abcdefghijklmnopqrstuvwxyz"))
+    (mapc #'(lambda (char)
+             (aset map char char))
+         (concat "#$%&+-.0123456789=?@~"
+                 "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
+                 "abcdefghijklmnopqrstuvwxyz"))
     map))
 
 
@@ -5553,7 +5553,7 @@ killed after process termination."
   (ebnf-log "(ebnf-dimensions tree)")
   (let ((ebnf-total (length tree))
        (ebnf-nprod 0))
-    (mapcar 'ebnf-production-dimension tree))
+    (mapc 'ebnf-production-dimension tree))
   tree)