HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
162eab5
)
(number-sequence): Shorten the code.
author
Kenichi Handa
<handa@m17n.org>
Thu, 3 Apr 2003 02:49:16 +0000
(
02:49
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 3 Apr 2003 02:49:16 +0000
(
02:49
+0000)
lisp/subr.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index
c5c94df
..
16bd3a9
100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-186,10
+186,9
@@
If TO is less than FROM, the value is nil."
(setq to (1- from)))
(setq to from))
(let* ((list (make-list (- (1+ to) from) from))
- (tail (cdr list)))
- (while tail
- (setcar tail (setq from (1+ from)))
- (setq tail (cdr tail)))
+ (tail list))
+ (while (setq tail (cdr tail))
+ (setcar tail (setq from (1+ from))))
list))
(defun remove (elt seq)