Commit 3bd7a6ed authored by Thien-Thi Nguyen's avatar Thien-Thi Nguyen
Browse files

Mention change in --directory/-L behavior.

parent 33ca3973
......@@ -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.*)\\'".
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment