diff options
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/xt-mouse.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4fb1999e3e9..91decb31ff0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2015-03-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit. + 2015-03-25 Nicolas Petton <nicolas@petton.fr> * emacs-lisp/seq.el: Documentation improvements. diff --git a/lisp/xt-mouse.el b/lisp/xt-mouse.el index 7f1e72260ae..344333a9408 100644 --- a/lisp/xt-mouse.el +++ b/lisp/xt-mouse.el @@ -170,7 +170,7 @@ The optional arguments PROMPT and SECONDS work like in (<= ?0 c ?9)) (setq n (+ (* 10 n) c (- ?0)))) (cons n c)) - (cons (- (setq c (read-utf8-char)) 32) c)))) + (cons (- (setq c (xterm-mouse--read-utf8-char)) 32) c)))) ;; XTerm reports mouse events as ;; <EVENT-CODE> <X> <Y> in default mode, and |