aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThien-Thi Nguyen <[email protected]>2004-09-08 12:53:31 +0000
committerThien-Thi Nguyen <[email protected]>2004-09-08 12:53:31 +0000
commit3bd7a6eda894f64447eaedb552b05bb769e24539 (patch)
tree351d572c802361aced8d8245567f9ac13824555e
parent33ca3973656502db419754a2430ea8a414437983 (diff)
Mention change in --directory/-L behavior.
-rw-r--r--etc/NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 9765b900e5..68415a95e8 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.*)\\'".