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")
|
||||
shell-file-name))))
|
||||
(set-buffer (make-term "terminal" program))
|
||||
(term-mode)
|
||||
(term-char-mode)
|
||||
(switch-to-buffer "*terminal*"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user