diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-09-17 18:37:51 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-09-17 18:39:02 +0200 |
commit | 338af9213d6cb47da9c1835d20d8db27b915b3d1 (patch) | |
tree | 6239c0ebf14489a959aebb4820d962e0c447d0be /lisp/term.el | |
parent | 0ac58e89d71024177b791dc9c3d16a0f82d62aac (diff) | |
download | emacs-338af9213d6cb47da9c1835d20d8db27b915b3d1.tar.gz emacs-338af9213d6cb47da9c1835d20d8db27b915b3d1.tar.bz2 emacs-338af9213d6cb47da9c1835d20d8db27b915b3d1.zip |
Tweak how term-emulate-terminal selects windows
* lisp/term.el (term-emulate-terminal): Don't record the selection
of the window here, because we're not doing a user-level window
selection, but just selecting the window for internal purposes
(bug#41984).
Diffstat (limited to 'lisp/term.el')
-rw-r--r-- | lisp/term.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term.el b/lisp/term.el index caa3b39be49..42b2e5a2481 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -3126,7 +3126,7 @@ See `term-prompt-regexp'." (setq win (next-window win nil t)) (when (eq (window-buffer win) (process-buffer proc)) (let ((scroll term-scroll-to-bottom-on-output)) - (select-window win) + (select-window win t) (when (or (= (point) save-marker) (eq scroll t) (eq scroll 'all) ;; Maybe user wants point to jump to the end. |