mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-03 14:10:47 -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:
parent
824a139434
commit
bf47bc8b94
1 changed files with 0 additions and 1 deletions
|
|
@ -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*"))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue