diff options
| -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. |