changeset 24757:f4127409d184

(add-to-list): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Sat, 22 May 1999 19:42:01 +0000
parents 4582b492a651
children 16c7330ad116
files lisp/subr.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/subr.el	Sat May 22 17:38:01 1999 +0000
+++ b/lisp/subr.el	Sat May 22 19:42:01 1999 +0000
@@ -676,6 +676,8 @@
 (defun add-to-list (list-var element)
   "Add to the value of LIST-VAR the element ELEMENT if it isn't there yet.
 The test for presence of ELEMENT is done with `equal'.
+If ELEMENT is added, it is added at the beginning of the list.
+
 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.