aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2003-04-03 02:49:16 +0000
committerKenichi Handa2003-04-03 02:49:16 +0000
commit428c1209173f2e940169b3599979da06cf43212e (patch)
treee5415c58e11422a79dbcef6cb3c97046a8dbbb2e
parent162eab5f18ee41f80c447c6df8d07617c8f56a93 (diff)
downloademacs-428c1209173f2e940169b3599979da06cf43212e.tar.gz
emacs-428c1209173f2e940169b3599979da06cf43212e.zip
(number-sequence): Shorten the code.
-rw-r--r--lisp/subr.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index c5c94dfe01a..16bd3a91763 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -186,10 +186,9 @@ If TO is less than FROM, the value is nil."
186 (setq to (1- from))) 186 (setq to (1- from)))
187 (setq to from)) 187 (setq to from))
188 (let* ((list (make-list (- (1+ to) from) from)) 188 (let* ((list (make-list (- (1+ to) from) from))
189 (tail (cdr list))) 189 (tail list))
190 (while tail 190 (while (setq tail (cdr tail))
191 (setcar tail (setq from (1+ from))) 191 (setcar tail (setq from (1+ from))))
192 (setq tail (cdr tail)))
193 list)) 192 list))
194 193
195(defun remove (elt seq) 194(defun remove (elt seq)