]> git.eshelyaron.com Git - emacs.git/commit
t-mouse.el: Make sure we apply the setting to new terminals
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 30 Aug 2022 21:55:03 +0000 (17:55 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 30 Aug 2022 21:55:03 +0000 (17:55 -0400)
commita28ede3a61a70cf83dfcba6c9d314fbb051a3a94
tree0f5196b0f3ce39f77d29520f5e40506c573ceefe
parent1feec84b0f9f100547d428315c74a542228667e4
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.
lisp/t-mouse.el
lisp/term/linux.el