projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
141bf18
)
Use pop-to-buffer-same-window in `M-x term'
author
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 22 Dec 2021 12:00:55 +0000
(13:00 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 22 Dec 2021 12:00:55 +0000
(13:00 +0100)
* lisp/term.el (term): Allow `display-buffer*' customization to
take effect (bug#52688).
lisp/term.el
patch
|
blob
|
history
diff --git
a/lisp/term.el
b/lisp/term.el
index 698bef08b2d088a277e8b0f5362d261970450b8c..e0a2f0a9a4b04b3c63c537e3d2f731f087c05d4c 100644
(file)
--- a/
lisp/term.el
+++ b/
lisp/term.el
@@
-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.