diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-04 19:02:23 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-04 19:02:23 +0100 |
commit | bf47bc8b94de258bb88535c3b4e4318b4fdf417f (patch) | |
tree | ae5abb0489419030cbec6961cd2b96f05e551138 /lisp/term.el | |
parent | 824a139434855919073d6ea3c93d57ebd24fc75c (diff) | |
download | emacs-bf47bc8b94de258bb88535c3b4e4318b4fdf417f.tar.gz emacs-bf47bc8b94de258bb88535c3b4e4318b4fdf417f.tar.bz2 emacs-bf47bc8b94de258bb88535c3b4e4318b4fdf417f.zip |
Don't have `M-x term' call `term-mode' twice
* lisp/term.el (term): Don't call `term-mode' twice (bug#51589).
Diffstat (limited to 'lisp/term.el')
-rw-r--r-- | lisp/term.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/term.el b/lisp/term.el index 530b93484ed..698bef08b2d 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -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*")) |