]> git.eshelyaron.com Git - emacs.git/commit
Fix for xt-mouse-tests.el broken in prior commit
authorJared Finder <jared@finder.org>
Sat, 14 Dec 2024 08:30:43 +0000 (09:30 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 15 Dec 2024 16:39:21 +0000 (17:39 +0100)
commit976977defa2cf1eb77535fb817c34c631ee4c644
tree002b2c48181096c22e96e4ba1a776f0de75ffc00
parent400058a2f2c928cf2dedc1c52af88a76c5beeb64
Fix for xt-mouse-tests.el broken in prior commit

xt-mouse-tests not turning on xterm-mouse-mode if it was already
on did not work with xterm-mouse-mode being set to t by default.
It turns out that xt-mouse-tests already does not report proper
results when called inside a running Emacs session so the code
path is not useful anyways.

* test/lisp/xt-mouse-tests.el (with-xterm-mouse-mode): Always
turn on xterm-mouse-mode, even if it is already on.

(cherry picked from commit 2719dccbe5797dd8fcf1ce013df2ff71161b6f55)
test/lisp/xt-mouse-tests.el