Mercurial > hg > xemacs-beta
comparison lisp/winnt.el @ 398:74fd4e045ea6 r21-2-29
Import from CVS: tag r21-2-29
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:13:30 +0200 |
parents | 8626e4521993 |
children | 2f8bb876ab1d |
comparison
equal
deleted
inserted
replaced
397:f4aeb21a5bad | 398:74fd4e045ea6 |
---|---|
37 ;; The cmd.exe shell uses the "/c" switch instead of the "-c" switch | 37 ;; The cmd.exe shell uses the "/c" switch instead of the "-c" switch |
38 ;; for executing its command line argument (from simple.el). | 38 ;; for executing its command line argument (from simple.el). |
39 ;; #### Oh if we had an alist of shells and their command switches. | 39 ;; #### Oh if we had an alist of shells and their command switches. |
40 (setq shell-command-switch "/c") | 40 (setq shell-command-switch "/c") |
41 | 41 |
42 ;; For appending suffixes to directories and files in shell completions. | 42 ;; For appending suffixes to directories and files in shell |
43 (defun nt-shell-mode-hook () | 43 ;; completions. This screws up cygwin users so we leave it out for |
44 (setq comint-completion-addsuffix '("\\" . " ") | 44 ;; now. Uncomment this if you only ever want to use cmd. |
45 comint-process-echoes t)) | 45 |
46 (add-hook 'shell-mode-hook 'nt-shell-mode-hook) | 46 ;(defun nt-shell-mode-hook () |
47 ; (setq comint-completion-addsuffix '("\\" . " ") | |
48 ; comint-process-echoes t)) | |
49 ;(add-hook 'shell-mode-hook 'nt-shell-mode-hook) | |
47 | 50 |
48 ;; Use ";" instead of ":" as a path separator (from files.el). | 51 ;; Use ";" instead of ":" as a path separator (from files.el). |
49 (setq path-separator ";") | 52 (setq path-separator ";") |
50 | 53 |
51 ;; Set the null device (for compile.el). | 54 ;; Set the null device (for compile.el). |