diff options
Diffstat (limited to 'lisp/shell.el')
-rw-r--r-- | lisp/shell.el | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index 53f5d0b6f1c..cd99b008776 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -110,11 +110,6 @@ "Directory support in shell mode." :group 'shell) -;; Unused. -;;; (defgroup shell-faces nil -;;; "Faces in shell buffers." -;;; :group 'shell) - ;;;###autoload (defcustom shell-dumb-shell-regexp (purecopy "cmd\\(proxy\\)?\\.exe") "Regexp to match shells that don't save their command history, and @@ -743,7 +738,7 @@ Make the shell buffer the current buffer, and return it. (current-buffer))) ;; The buffer's window must be correctly set when we call comint ;; (so that comint sets the COLUMNS env var properly). - (pop-to-buffer buffer) + (pop-to-buffer-same-window buffer) (with-connection-local-variables ;; On remote hosts, the local `shell-file-name' might be useless. |