]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't have `M-x term' call `term-mode' twice
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Nov 2021 18:02:23 +0000 (19:02 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Nov 2021 18:02:23 +0000 (19:02 +0100)
* lisp/term.el (term): Don't call `term-mode' twice (bug#51589).

lisp/term.el

index 530b93484edae84ccbcdced9f5f7972f067f0bd0..698bef08b2d088a277e8b0f5362d261970450b8c 100644 (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*"))