Use pop-to-buffer-same-window in `M-x term'
* lisp/term.el (term): Allow `display-buffer*' customization to take effect (bug#52688).
This commit is contained in:
parent
141bf182da
commit
dbd0eef0c7
1 changed files with 1 additions and 1 deletions
|
@ -1532,7 +1532,7 @@ commands to use in that buffer.
|
|||
shell-file-name))))
|
||||
(set-buffer (make-term "terminal" program))
|
||||
(term-char-mode)
|
||||
(switch-to-buffer "*terminal*"))
|
||||
(pop-to-buffer-same-window "*terminal*"))
|
||||
|
||||
(defun term-exec (buffer name command startfile switches)
|
||||
"Start up a process in buffer for term modes.
|
||||
|
|
Loading…
Add table
Reference in a new issue