diff options
author | Jarek Czekalski <jarekczek@poczta.onet.pl> | 2013-12-27 21:58:21 +0100 |
---|---|---|
committer | Jarek Czekalski <jarekczek@poczta.onet.pl> | 2013-12-27 21:58:21 +0100 |
commit | fdadeb4997504f17682f164a906ac9c024816e0d (patch) | |
tree | 072a0771a5c9fe49185a3819bcc61e7efeae4074 /src/callproc.c | |
parent | b1797e3eebf2f5c428a187d41dfa3dd7a396a505 (diff) | |
download | emacs-fdadeb4997504f17682f164a906ac9c024816e0d.tar.gz |
Shell completion for filenames from current directory, related docs.
* lisp/shell.el Shell completion now matches executable filenames from
the current buffer's directory, on systems in which this behaviour
is the default (windows-nt, ms-dos).
* src/callproc.c (Vexec_path): Document that exec-directory is in it.
* doc/emacs/mini.texi (Completion Options): Add a link to Shell Options.
* doc/emacs/misc.texi (Shell Mode): Move documentation of
shell-completion-fignore from Shell Mode to Shell Options.
Fixes: debbugs:15461
Diffstat (limited to 'src/callproc.c')
-rw-r--r-- | src/callproc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c index 3b383a7fbef..9a9b57bd923 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -1686,7 +1686,11 @@ default if SHELL is not set. */); DEFVAR_LISP ("exec-path", Vexec_path, doc: /* List of directories to search programs to run in subprocesses. -Each element is a string (directory name) or nil (try default directory). */); +Each element is a string (directory name) or nil (try default directory). + +By default the last element of this list is `exec-directory'. The +last element is not always used, for example in shell completion +(`shell-dynamic-complete-command'). */); DEFVAR_LISP ("exec-suffixes", Vexec_suffixes, doc: /* List of suffixes to try to find executable file names. |