Don't have M-x term' call term-mode' twice
* lisp/term.el (term): Don't call `term-mode' twice (bug#51589).
This commit is contained in:
@@ -1531,7 +1531,6 @@ commands to use in that buffer.
|
|||||||
(getenv "ESHELL")
|
(getenv "ESHELL")
|
||||||
shell-file-name))))
|
shell-file-name))))
|
||||||
(set-buffer (make-term "terminal" program))
|
(set-buffer (make-term "terminal" program))
|
||||||
(term-mode)
|
|
||||||
(term-char-mode)
|
(term-char-mode)
|
||||||
(switch-to-buffer "*terminal*"))
|
(switch-to-buffer "*terminal*"))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user