diff options
| author | Glenn Morris | 2013-11-03 17:36:14 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-11-03 17:36:14 -0800 |
| commit | a0833f62d5e41901b5ab12fb19a7728593b088ed (patch) | |
| tree | 9152bef64e993d58d452648dc3ae498eeb33773c /doc | |
| parent | e61845c1db42405938b9dca7dfff73b4ab6aa52a (diff) | |
| download | emacs-a0833f62d5e41901b5ab12fb19a7728593b088ed.tar.gz emacs-a0833f62d5e41901b5ab12fb19a7728593b088ed.zip | |
* lisp/startup.el (command-line-1): Allow `-L :...' to append to load-path.
* doc/emacs/cmdargs.texi (Action Arguments): Mention that `-L :...' appends.
* etc/NEWS: Mention this.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/cmdargs.texi | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 79047e3285b..7f051e751e5 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-11-04 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * cmdargs.texi (Action Arguments): Mention that `-L :...' appends. | ||
| 4 | |||
| 1 | 2013-11-02 Glenn Morris <rgm@gnu.org> | 5 | 2013-11-02 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * cmdargs.texi (Action Arguments): Clarify `-L' a bit. | 7 | * cmdargs.texi (Action Arguments): Clarify `-L' a bit. |
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi index 1ef6529f295..d0f5f1e06b1 100644 --- a/doc/emacs/cmdargs.texi +++ b/doc/emacs/cmdargs.texi | |||
| @@ -139,6 +139,8 @@ Prepend directory @var{dir} to the variable @code{load-path}. | |||
| 139 | If you specify multiple @samp{-L} options, Emacs preserves the | 139 | If you specify multiple @samp{-L} options, Emacs preserves the |
| 140 | relative order; i.e., using @samp{-L /foo -L /bar} results in | 140 | relative order; i.e., using @samp{-L /foo -L /bar} results in |
| 141 | a @code{load-path} of the form @code{("/foo" "/bar" @dots{})}. | 141 | a @code{load-path} of the form @code{("/foo" "/bar" @dots{})}. |
| 142 | If @var{dir} begins with @samp{:}, Emacs removes the @samp{:} and | ||
| 143 | appends (rather than prepends) the remainder to @code{load-path}. | ||
| 142 | 144 | ||
| 143 | @item -f @var{function} | 145 | @item -f @var{function} |
| 144 | @opindex -f | 146 | @opindex -f |