]> git.eshelyaron.com Git - emacs.git/commitdiff
(zone-pgm-rotate): Use `mapc' rather than `mapcar'.
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 26 Sep 2007 00:23:11 +0000 (00:23 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 26 Sep 2007 00:23:11 +0000 (00:23 +0000)
lisp/play/zone.el

index f1bbfb19938930c2addd99f7d190fcb90b3e23bf..15d8e5eeba72d5863d40be12d617b060677360ba 100644 (file)
@@ -399,20 +399,20 @@ If the element is a function or a list of a function and a number,
   (let* ((specs (apply
                  'vector
                  (let (res)
-                   (mapcar (lambda (ent)
-                             (let* ((beg (car ent))
-                                    (end (cdr ent))
-                                    (amt (if random-style
-                                             (funcall random-style)
-                                           (- (random 7) 3))))
-                               (when (< (- end (abs amt)) beg)
-                                 (setq amt (random (- end beg))))
-                               (unless (= 0 amt)
-                                 (setq res
-                                       (cons
-                                        (vector amt beg (- end (abs amt)))
-                                        res)))))
-                           (zone-line-specs))
+                   (mapc (lambda (ent)
+                          (let* ((beg (car ent))
+                                 (end (cdr ent))
+                                 (amt (if random-style
+                                          (funcall random-style)
+                                        (- (random 7) 3))))
+                            (when (< (- end (abs amt)) beg)
+                              (setq amt (random (- end beg))))
+                            (unless (= 0 amt)
+                              (setq res
+                                    (cons
+                                     (vector amt beg (- end (abs amt)))
+                                     res)))))
+                        (zone-line-specs))
                    res)))
          (n (length specs))
          amt aamt cut paste txt i ent)