diff options
| author | Thien-Thi Nguyen | 2004-09-08 12:53:31 +0000 |
|---|---|---|
| committer | Thien-Thi Nguyen | 2004-09-08 12:53:31 +0000 |
| commit | 3bd7a6eda894f64447eaedb552b05bb769e24539 (patch) | |
| tree | 351d572c802361aced8d8245567f9ac13824555e | |
| parent | 33ca3973656502db419754a2430ea8a414437983 (diff) | |
| download | emacs-3bd7a6eda894f64447eaedb552b05bb769e24539.tar.gz emacs-3bd7a6eda894f64447eaedb552b05bb769e24539.zip | |
Mention change in --directory/-L behavior.
| -rw-r--r-- | etc/NEWS | 9 |
1 files changed, 9 insertions, 0 deletions
| @@ -2886,6 +2886,15 @@ can start with this line: | |||
| 2886 | 2886 | ||
| 2887 | #!/usr/bin/emacs --script | 2887 | #!/usr/bin/emacs --script |
| 2888 | 2888 | ||
| 2889 | ** The option --directory DIR now modifies `load-path' immediately. | ||
| 2890 | Directories are added to the front of `load-path' in the order they | ||
| 2891 | appear on the command line. For example, with this command line: | ||
| 2892 | |||
| 2893 | emacs -batch -L .. -L /tmp --eval "(require 'foo)" | ||
| 2894 | |||
| 2895 | Emacs looks for library `foo' in the parent directory, then in /tmp, then | ||
| 2896 | in the other directories in `load-path'. (-L is short for --directory.) | ||
| 2897 | |||
| 2889 | +++ | 2898 | +++ |
| 2890 | ** A function's docstring can now hold the function's usage info on | 2899 | ** A function's docstring can now hold the function's usage info on |
| 2891 | its last line. It should match the regexp "\n\n(fn.*)\\'". | 2900 | its last line. It should match the regexp "\n\n(fn.*)\\'". |