diff options
| -rw-r--r-- | lisp/play/zone.el | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/lisp/play/zone.el b/lisp/play/zone.el index f1bbfb19938..15d8e5eeba7 100644 --- a/lisp/play/zone.el +++ b/lisp/play/zone.el | |||
| @@ -399,20 +399,20 @@ If the element is a function or a list of a function and a number, | |||
| 399 | (let* ((specs (apply | 399 | (let* ((specs (apply |
| 400 | 'vector | 400 | 'vector |
| 401 | (let (res) | 401 | (let (res) |
| 402 | (mapcar (lambda (ent) | 402 | (mapc (lambda (ent) |
| 403 | (let* ((beg (car ent)) | 403 | (let* ((beg (car ent)) |
| 404 | (end (cdr ent)) | 404 | (end (cdr ent)) |
| 405 | (amt (if random-style | 405 | (amt (if random-style |
| 406 | (funcall random-style) | 406 | (funcall random-style) |
| 407 | (- (random 7) 3)))) | 407 | (- (random 7) 3)))) |
| 408 | (when (< (- end (abs amt)) beg) | 408 | (when (< (- end (abs amt)) beg) |
| 409 | (setq amt (random (- end beg)))) | 409 | (setq amt (random (- end beg)))) |
| 410 | (unless (= 0 amt) | 410 | (unless (= 0 amt) |
| 411 | (setq res | 411 | (setq res |
| 412 | (cons | 412 | (cons |
| 413 | (vector amt beg (- end (abs amt))) | 413 | (vector amt beg (- end (abs amt))) |
| 414 | res))))) | 414 | res))))) |
| 415 | (zone-line-specs)) | 415 | (zone-line-specs)) |
| 416 | res))) | 416 | res))) |
| 417 | (n (length specs)) | 417 | (n (length specs)) |
| 418 | amt aamt cut paste txt i ent) | 418 | amt aamt cut paste txt i ent) |