1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-31 04:41:23 -08:00

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:
Lars Ingebrigtsen 2021-11-04 19:02:23 +01:00
parent 824a139434
commit bf47bc8b94

View file

@ -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*"))