From bf47bc8b94de258bb88535c3b4e4318b4fdf417f Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 4 Nov 2021 19:02:23 +0100 Subject: [PATCH] Don't have `M-x term' call `term-mode' twice * lisp/term.el (term): Don't call `term-mode' twice (bug#51589). --- lisp/term.el | 1 - 1 file changed, 1 deletion(-) 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*")) -- 2.39.2