Mercurial > emacs
changeset 43833:37bc1e73d4b3
(add-to-list): Doc fix.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Mon, 11 Mar 2002 13:31:50 +0000 |
parents | 5d834c3f5d18 |
children | aa881082fd04 |
files | lisp/subr.el |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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.