# HG changeset patch # User Pavel Jank # Date 1015853510 0 # Node ID 37bc1e73d4b3d67f8998571298d65d800abe25d9 # Parent 5d834c3f5d189097e7b767fe9c39ab730eaa3ba8 (add-to-list): Doc fix. diff -r 5d834c3f5d18 -r 37bc1e73d4b3 lisp/subr.el --- 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.