From: Pavel Janík Date: Mon, 11 Mar 2002 13:31:50 +0000 (+0000) Subject: (add-to-list): Doc fix. X-Git-Tag: ttn-vms-21-2-B4~16232 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=daebae3d8c6e8bb309a65b3360066d8ff4d9d642;p=emacs.git (add-to-list): Doc fix. --- 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, 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.