now that unicode is used (Bug#6594).
+2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
+ now that unicode is used (Bug#6594).
+
2010-07-14 Chong Yidong <cyd@stupidchicken.com>
* simple.el (push-mark-command): Set the selection if
;; read xterm sequences above ascii 127 (#x7f)
(defun xterm-mouse-event-read ()
(let ((c (read-char)))
- (if (< c 0)
- (+ c #x8000000 128)
+ (if (> c #x3FFF80)
+ (+ 128 (- c #x3FFF80))
c)))
(defun xterm-mouse-truncate-wrap (f)