diff options
| -rw-r--r-- | lisp/shell.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index 33a60fdedd9..369e0ac14d0 100644 --- a/lisp/shell.el +++ b/lisp/shell.el | |||
| @@ -688,8 +688,9 @@ See `shell-dynamic-complete-filename'. Returns t if successful." | |||
| 688 | (paths (cdr (reverse exec-path))) | 688 | (paths (cdr (reverse exec-path))) |
| 689 | (cwd (file-name-as-directory (expand-file-name default-directory))) | 689 | (cwd (file-name-as-directory (expand-file-name default-directory))) |
| 690 | (ignored-extensions | 690 | (ignored-extensions |
| 691 | (mapconcat (function (lambda (x) (concat (regexp-quote x) "$"))) | 691 | (and comint-completion-fignore |
| 692 | comint-completion-fignore "\\|")) | 692 | (mapconcat (function (lambda (x) (concat (regexp-quote x) "$"))) |
| 693 | comint-completion-fignore "\\|"))) | ||
| 693 | (path "") (comps-in-path ()) (file "") (filepath "") (completions ())) | 694 | (path "") (comps-in-path ()) (file "") (filepath "") (completions ())) |
| 694 | ;; Go thru each path in the search path, finding completions. | 695 | ;; Go thru each path in the search path, finding completions. |
| 695 | (while paths | 696 | (while paths |