From: Stefan Monnier Date: Wed, 25 Mar 2015 13:34:20 +0000 (-0400) Subject: * lisp/xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit. X-Git-Tag: emacs-25.0.90~2564^2~72 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=76040ddd8a4142e2933f1c24940d9e20c206ee6f;p=emacs.git * lisp/xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit. --- 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 + + * xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit. + 2015-03-25 Nicolas Petton * 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 ;; in default mode, and