mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-22 10:26:20 +00:00
(turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
Use terminal-list.
This commit is contained in:
parent
e34b0c60d5
commit
d63ddb2c67
@ -1,5 +1,8 @@
|
||||
2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* xt-mouse.el (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
|
||||
Use terminal-list.
|
||||
|
||||
* cus-start.el (underline-minimum-offset) Rename from
|
||||
x-underline-minimum-display-offset.
|
||||
|
||||
|
@ -226,12 +226,12 @@ down the SHIFT key while pressing the mouse button."
|
||||
|
||||
(defun turn-on-xterm-mouse-tracking ()
|
||||
"Enable Emacs mouse tracking in xterm."
|
||||
(dolist (terminal (delete-dups (mapcar 'frame-terminal (frame-list))))
|
||||
(dolist (terminal (terminal-list))
|
||||
(turn-on-xterm-mouse-tracking-on-terminal terminal)))
|
||||
|
||||
(defun turn-off-xterm-mouse-tracking (&optional force)
|
||||
"Disable Emacs mouse tracking in xterm."
|
||||
(dolist (terminal (delete-dups (mapcar 'frame-terminal (frame-list))))
|
||||
(dolist (terminal (terminal-list))
|
||||
(turn-off-xterm-mouse-tracking-on-terminal terminal)))
|
||||
|
||||
(defun turn-on-xterm-mouse-tracking-on-terminal (&optional terminal)
|
||||
|
Loading…
Reference in New Issue
Block a user