aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/subr.el2
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,
798unless the optional argument APPEND is non-nil, in which case 798unless the optional argument APPEND is non-nil, in which case
799ELEMENT is added at the end. 799ELEMENT is added at the end.
800 800
801The return value is the new value of LIST-VAR.
802
801If you want to use `add-to-list' on a variable that is not defined 803If you want to use `add-to-list' on a variable that is not defined
802until a certain package is loaded, you should put the call to `add-to-list' 804until a certain package is loaded, you should put the call to `add-to-list'
803into a hook function that will be run only after loading the package. 805into a hook function that will be run only after loading the package.