From: Thien-Thi Nguyen Date: Wed, 8 Sep 2004 12:53:31 +0000 (+0000) Subject: Mention change in --directory/-L behavior. X-Git-Tag: ttn-vms-21-2-B4~4998 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3bd7a6eda894f64447eaedb552b05bb769e24539;p=emacs.git Mention change in --directory/-L behavior. --- diff --git a/etc/NEWS b/etc/NEWS index 9765b900e5a..68415a95e84 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2886,6 +2886,15 @@ can start with this line: #!/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.*)\\'".