diff options
| author | Pavel Janík | 2002-03-11 13:31:50 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-03-11 13:31:50 +0000 |
| commit | daebae3d8c6e8bb309a65b3360066d8ff4d9d642 (patch) | |
| tree | d5f23e4a522e8b28fd361b163d4c16f9cf57af86 | |
| parent | a3841d3be9d822834a12404c10073d49664a2837 (diff) | |
| download | emacs-daebae3d8c6e8bb309a65b3360066d8ff4d9d642.tar.gz emacs-daebae3d8c6e8bb309a65b3360066d8ff4d9d642.zip | |
(add-to-list): Doc fix.
| -rw-r--r-- | lisp/subr.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 210a8f571ce..189ec1f74e2 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -798,6 +798,8 @@ If ELEMENT is added, it is added at the beginning of the list, | |||
| 798 | unless the optional argument APPEND is non-nil, in which case | 798 | unless the optional argument APPEND is non-nil, in which case |
| 799 | ELEMENT is added at the end. | 799 | ELEMENT is added at the end. |
| 800 | 800 | ||
| 801 | The return value is the new value of LIST-VAR. | ||
| 802 | |||
| 801 | If you want to use `add-to-list' on a variable that is not defined | 803 | If you want to use `add-to-list' on a variable that is not defined |
| 802 | until a certain package is loaded, you should put the call to `add-to-list' | 804 | until a certain package is loaded, you should put the call to `add-to-list' |
| 803 | into a hook function that will be run only after loading the package. | 805 | into a hook function that will be run only after loading the package. |