diff options
| author | Jarek Czekalski | 2013-12-27 21:58:21 +0100 |
|---|---|---|
| committer | Jarek Czekalski | 2013-12-27 21:58:21 +0100 |
| commit | fdadeb4997504f17682f164a906ac9c024816e0d (patch) | |
| tree | 072a0771a5c9fe49185a3819bcc61e7efeae4074 /src | |
| parent | b1797e3eebf2f5c428a187d41dfa3dd7a396a505 (diff) | |
| download | emacs-fdadeb4997504f17682f164a906ac9c024816e0d.tar.gz emacs-fdadeb4997504f17682f164a906ac9c024816e0d.zip | |
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')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/callproc.c | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7f69572dc01..606ac9a6430 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl> | ||
| 2 | |||
| 3 | * callproc.c (Vexec_path): Document that exec-directory is in it. | ||
| 4 | |||
| 1 | 2013-12-27 Steve Purcell <steve@sanityinc.com> (tiny change) | 5 | 2013-12-27 Steve Purcell <steve@sanityinc.com> (tiny change) |
| 2 | 6 | ||
| 3 | * nsterm.m (syms_of_nsterm): Enable ns-use-srgb-colorspace by | 7 | * nsterm.m (syms_of_nsterm): Enable ns-use-srgb-colorspace by |
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. */); | |||
| 1686 | 1686 | ||
| 1687 | DEFVAR_LISP ("exec-path", Vexec_path, | 1687 | DEFVAR_LISP ("exec-path", Vexec_path, |
| 1688 | doc: /* List of directories to search programs to run in subprocesses. | 1688 | doc: /* List of directories to search programs to run in subprocesses. |
| 1689 | Each element is a string (directory name) or nil (try default directory). */); | 1689 | Each element is a string (directory name) or nil (try default directory). |
| 1690 | |||
| 1691 | By default the last element of this list is `exec-directory'. The | ||
| 1692 | last element is not always used, for example in shell completion | ||
| 1693 | (`shell-dynamic-complete-command'). */); | ||
| 1690 | 1694 | ||
| 1691 | DEFVAR_LISP ("exec-suffixes", Vexec_suffixes, | 1695 | DEFVAR_LISP ("exec-suffixes", Vexec_suffixes, |
| 1692 | doc: /* List of suffixes to try to find executable file names. | 1696 | doc: /* List of suffixes to try to find executable file names. |