[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/lists.texi
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/lists.texi |
Date: |
Tue, 22 Jul 2003 11:23:50 -0400 |
Index: emacs/lispref/lists.texi
diff -c emacs/lispref/lists.texi:1.34 emacs/lispref/lists.texi:1.35
*** emacs/lispref/lists.texi:1.34 Mon Jun 30 06:40:48 2003
--- emacs/lispref/lists.texi Tue Jul 22 11:23:50 2003
***************
*** 733,738 ****
--- 733,752 ----
destructively. See @ref{Sets And Lists}.
@end defun
+ @defun number-sequence from to &optional separation
+ This returns a list of numbers starting with @var{from}
+ and incrementing by @var{separation} (or by 1 if @var{separation}
+ is @code{nil} or omitted), and ending at or just before @var{to}.
+ For example,
+
+ @example
+ (number-sequence 4 9)
+ @result{} (4 5 6 7 8 9)
+ (number-sequence 1.5 6 2)
+ @result{} (1.5 3.5 5.5)
+ @end example
+ @end defun
+
@node Modifying Lists
@section Modifying Existing List Structure
@cindex destructive list operations
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lispref/lists.texi,
Richard M. Stallman <=