changeset 15338:b0d95c32f026

(shell-mode-hook): Set comint-completion-addsuffix so that the directory suffix is backslash and the file suffix is space.
author Richard M. Stallman <rms@gnu.org>
date Wed, 05 Jun 1996 18:25:05 +0000
parents cf1e6f4dd2b0
children b774b50ca14a
files lisp/w32-fns.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/w32-fns.el	Wed Jun 05 18:24:14 1996 +0000
+++ b/lisp/w32-fns.el	Wed Jun 05 18:25:05 1996 +0000
@@ -63,6 +63,10 @@
 ;; for executing its command line argument (from simple.el).
 (setq shell-command-switch "/c")
 
+;; For appending suffixes to directories and files in shell completions.
+(add-hook 'shell-mode-hook 
+	  '(lambda () (setq comint-completion-addsuffix '("\\" . " "))))
+
 ;; Use ";" instead of ":" as a path separator (from files.el).
 (setq path-separator ";")