]> code.delx.au - gnu-emacs/commitdiff
; * src/lread.c (syms_of_lread) <load-path>: Improve the doc string.
authorEli Zaretskii <eliz@gnu.org>
Thu, 29 Oct 2015 18:47:09 +0000 (20:47 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 29 Oct 2015 18:47:09 +0000 (20:47 +0200)
src/lread.c

index 1119f3fdfd403f4806ee2df9c449ce059fee259b..7c891f9954f6794035fcf4fac82a7671c8f3f172 100644 (file)
@@ -4480,9 +4480,11 @@ were read in.  */);
   DEFVAR_LISP ("load-path", Vload_path,
               doc: /* List of directories to search for files to load.
 Each element is a string (directory file name) or nil (meaning
-`default-directory').  Initialized during startup as described in Info
-node `(elisp)Library Search'.  Use `directory-file-name' when adding items
-to this path.  */);
+`default-directory').
+Initialized during startup as described in Info node `(elisp)Library Search'.
+Use `directory-file-name' when adding items to this path.  However, Lisp
+programs that process this list should tolerate directories both with
+and without trailing slashes.  */);
 
   DEFVAR_LISP ("load-suffixes", Vload_suffixes,
               doc: /* List of suffixes for (compiled or source) Emacs Lisp files.