diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-08-30 17:55:03 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-08-30 17:55:03 -0400 |
commit | a28ede3a61a70cf83dfcba6c9d314fbb051a3a94 (patch) | |
tree | 0f5196b0f3ce39f77d29520f5e40506c573ceefe /lisp/term/linux.el | |
parent | 1feec84b0f9f100547d428315c74a542228667e4 (diff) | |
download | emacs-a28ede3a61a70cf83dfcba6c9d314fbb051a3a94.tar.gz |
t-mouse.el: Make sure we apply the setting to new terminals
* lisp/t-mouse.el (gpm-mouse-tty-setup): New function.
(gpm-mouse-mode): Use it as well as `tty-setup-hook`.
* lisp/term/linux.el (terminal-init-linux): Remove gpm-specific code,
not neded any more.
Diffstat (limited to 'lisp/term/linux.el')
-rw-r--r-- | lisp/term/linux.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/term/linux.el b/lisp/term/linux.el index ab5a6d8698f..60bf91fcf52 100644 --- a/lisp/term/linux.el +++ b/lisp/term/linux.el @@ -15,8 +15,6 @@ ;; Compositions confuse cursor movement. (setq-default auto-composition-mode "linux") - (ignore-errors (when gpm-mouse-mode (require 't-mouse) (gpm-mouse-enable))) - ;; Don't translate ESC TAB to backtab as directed ;; by ncurses-6.3. (define-key input-decode-map "\e\t" nil) |