aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-11-04 19:02:23 +0100
committerLars Ingebrigtsen2021-11-04 19:02:23 +0100
commitbf47bc8b94de258bb88535c3b4e4318b4fdf417f (patch)
treeae5abb0489419030cbec6961cd2b96f05e551138
parent824a139434855919073d6ea3c93d57ebd24fc75c (diff)
downloademacs-bf47bc8b94de258bb88535c3b4e4318b4fdf417f.tar.gz
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).
-rw-r--r--lisp/term.el1
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.
1531 (getenv "ESHELL") 1531 (getenv "ESHELL")
1532 shell-file-name)))) 1532 shell-file-name))))
1533 (set-buffer (make-term "terminal" program)) 1533 (set-buffer (make-term "terminal" program))
1534 (term-mode)
1535 (term-char-mode) 1534 (term-char-mode)
1536 (switch-to-buffer "*terminal*")) 1535 (switch-to-buffer "*terminal*"))
1537 1536