Commit 315c417c authored by Nick Roberts's avatar Nick Roberts
Browse files

(xterm-mouse-debug-buffer): New variable.

(xterm-mouse-translate): Use it.
parent 06b6baf6
......@@ -43,6 +43,8 @@
;;; Code:
(defvar xterm-mouse-debug-buffer nil)
(define-key function-key-map "\e[M" 'xterm-mouse-translate)
(defvar xterm-mouse-last)
......@@ -95,6 +97,8 @@
(list (intern (format "drag-mouse-%d"
(+ 1 xterm-mouse-last)))
down-data click-data)))))
(if xterm-mouse-debug-buffer
(print unread-command-events xterm-mouse-debug-buffer))
(if (and (symbolp down-where)
(consp down-where))
(vector (list down-where down-data) down)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment