aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Janík2002-03-11 13:31:50 +0000
committerPavel Janík2002-03-11 13:31:50 +0000
commitdaebae3d8c6e8bb309a65b3360066d8ff4d9d642 (patch)
treed5f23e4a522e8b28fd361b163d4c16f9cf57af86
parenta3841d3be9d822834a12404c10073d49664a2837 (diff)
downloademacs-daebae3d8c6e8bb309a65b3360066d8ff4d9d642.tar.gz
emacs-daebae3d8c6e8bb309a65b3360066d8ff4d9d642.zip
(add-to-list): Doc fix.
-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.