diff options
| author | Dave Love | 2001-01-05 16:52:53 +0000 |
|---|---|---|
| committer | Dave Love | 2001-01-05 16:52:53 +0000 |
| commit | 2d4c95097a4fb7601070751e9d444eb3bcad467a (patch) | |
| tree | daf7cf8dbab893d1e93a50fbe02561e519e9c2f8 /man | |
| parent | 4cb1bcc28365e0ebb8e6381649750661d0c62e74 (diff) | |
| download | emacs-2d4c95097a4fb7601070751e9d444eb3bcad467a.tar.gz emacs-2d4c95097a4fb7601070751e9d444eb3bcad467a.zip | |
Delete butlast, nbutlast.
Diffstat (limited to 'man')
| -rw-r--r-- | man/cl.texi | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/man/cl.texi b/man/cl.texi index 4aa01b32f6e..93923fc5914 100644 --- a/man/cl.texi +++ b/man/cl.texi | |||
| @@ -299,7 +299,7 @@ they do not cause other components like @file{cl-extra} to be loaded. | |||
| 299 | @example | 299 | @example |
| 300 | eql floatp-safe endp | 300 | eql floatp-safe endp |
| 301 | evenp oddp plusp minusp | 301 | evenp oddp plusp minusp |
| 302 | butlast nbutlast caaar .. cddddr | 302 | caaar .. cddddr |
| 303 | list* ldiff rest first .. tenth | 303 | list* ldiff rest first .. tenth |
| 304 | copy-list subst mapcar* [2] | 304 | copy-list subst mapcar* [2] |
| 305 | adjoin [3] acons pairlis pop [4] | 305 | adjoin [3] acons pairlis pop [4] |
| @@ -4207,20 +4207,6 @@ The Emacs function @code{last} does the same thing | |||
| 4207 | except that it does not handle the optional argument @var{n}. | 4207 | except that it does not handle the optional argument @var{n}. |
| 4208 | @end defun | 4208 | @end defun |
| 4209 | 4209 | ||
| 4210 | @defun butlast x &optional n | ||
| 4211 | This function returns the list @var{x} with the last element, | ||
| 4212 | or the last @var{n} elements, removed. If @var{n} is greater | ||
| 4213 | than zero it makes a copy of the list so as not to damage the | ||
| 4214 | original list. In general, @code{(append (butlast @var{x} @var{n}) | ||
| 4215 | (last @var{x} @var{n}))} will return a list equal to @var{x}. | ||
| 4216 | @end defun | ||
| 4217 | |||
| 4218 | @defun nbutlast x &optional n | ||
| 4219 | This is a version of @code{butlast} that works by destructively | ||
| 4220 | modifying the @code{cdr} of the appropriate element, rather than | ||
| 4221 | making a copy of the list. | ||
| 4222 | @end defun | ||
| 4223 | |||
| 4224 | @defun list* arg &rest others | 4210 | @defun list* arg &rest others |
| 4225 | This function constructs a list of its arguments. The final | 4211 | This function constructs a list of its arguments. The final |
| 4226 | argument becomes the @code{cdr} of the last cell constructed. | 4212 | argument becomes the @code{cdr} of the last cell constructed. |