Mercurial > emacs
diff lisp/subr.el @ 43833:37bc1e73d4b3
(add-to-list): Doc fix.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Mon, 11 Mar 2002 13:31:50 +0000 |
parents | d51d403fd80a |
children | 444bd245e176 |
line wrap: on
line diff
--- a/lisp/subr.el Mon Mar 11 09:16:37 2002 +0000 +++ b/lisp/subr.el Mon Mar 11 13:31:50 2002 +0000 @@ -798,6 +798,8 @@ unless the optional argument APPEND is non-nil, in which case ELEMENT is added at the end. +The return value is the new value of LIST-VAR. + If you want to use `add-to-list' on a variable that is not defined until a certain package is loaded, you should put the call to `add-to-list' into a hook function that will be run only after loading the package.