.emacs-my
changeset 433 14012bcd3c0d
parent 432 650ccece6b01
child 434 12acc6727bd9
equal deleted inserted replaced
432:650ccece6b01 433:14012bcd3c0d
   661 ;; Setup Emacs to run bash as its primary shell.
   661 ;; Setup Emacs to run bash as its primary shell.
   662 ;; (setq binary-process-input t)
   662 ;; (setq binary-process-input t)
   663 ;; (setq shell-file-name "bash")
   663 ;; (setq shell-file-name "bash")
   664 ;; (setq shell-command-switch "-c")
   664 ;; (setq shell-command-switch "-c")
   665 ;; (setenv "SHELL" shell-file-name)
   665 ;; (setenv "SHELL" shell-file-name)
       
   666 
       
   667 ;; If non-nil, add a `/' to completed directories, ` ' to file names.
       
   668 (setq comint-completion-addsuffix t)
   666 
   669 
   667 (defvar my-use-windows-shell nil
   670 (defvar my-use-windows-shell nil
   668   "If t 'cmdproxy.exe' will be used as shell. Affect on M-x shell like
   671   "If t 'cmdproxy.exe' will be used as shell. Affect on M-x shell like
   669   commands. If nil, 'sh' will be used." )
   672   commands. If nil, 'sh' will be used." )
   670 
   673