Set comint-eol-on-send.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 01 Aug 2010 16:11:04 +0300
changeset 434 12acc6727bd9
parent 433 14012bcd3c0d
child 435 a34e8ddc9e12
Set comint-eol-on-send.
.emacs-my
--- a/.emacs-my	Sun Aug 01 16:08:20 2010 +0300
+++ b/.emacs-my	Sun Aug 01 16:11:04 2010 +0300
@@ -655,6 +655,14 @@
 (setq woman-use-own-frame nil)
 (setq woman-fill-frame t)
 
+;; ----------------------------------------------------------------------
+;; comint
+
+;; If non-nil, add a `/' to completed directories, ` ' to file names.
+(setq comint-completion-addsuffix t)
+;; Non-nil means go to the end of the line before sending input.
+(setq comint-eol-on-send t)
+
 ;; ======================================================================
 ;; shell, sh, bash.
 
@@ -664,9 +672,6 @@
 ;; (setq shell-command-switch "-c")
 ;; (setenv "SHELL" shell-file-name)
 
-;; If non-nil, add a `/' to completed directories, ` ' to file names.
-(setq comint-completion-addsuffix t)
-
 (defvar my-use-windows-shell nil
   "If t 'cmdproxy.exe' will be used as shell. Affect on M-x shell like
   commands. If nil, 'sh' will be used." )