changeset 57009:c18b7fe46992

Mention change in --directory/-L behavior.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Wed, 08 Sep 2004 12:53:31 +0000
parents bda6c36fa8d4
children 708016046e80
files etc/NEWS
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Wed Sep 08 12:49:08 2004 +0000
+++ b/etc/NEWS	Wed Sep 08 12:53:31 2004 +0000
@@ -2886,6 +2886,15 @@
 
    #!/usr/bin/emacs --script
 
+** The option --directory DIR now modifies `load-path' immediately.
+Directories are added to the front of `load-path' in the order they
+appear on the command line.  For example, with this command line:
+
+  emacs -batch -L .. -L /tmp --eval "(require 'foo)"
+
+Emacs looks for library `foo' in the parent directory, then in /tmp, then
+in the other directories in `load-path'.  (-L is short for --directory.)
+
 +++
 ** A function's docstring can now hold the function's usage info on
 its last line.  It should match the regexp "\n\n(fn.*)\\'".