]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 25 Mar 2015 13:34:20 +0000 (09:34 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 25 Mar 2015 13:34:20 +0000 (09:34 -0400)
lisp/ChangeLog
lisp/xt-mouse.el

index 4fb1999e3e91a9d8c9dba2e4c7666eac16c2b9e8..91decb31ff02e52e0918d60cf9302dc88a288b9c 100644 (file)
@@ -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.
index 7f1e72260ae1ff2777575a5d9623f855f522800f..344333a94084a4876c7c3aa3bc0905f6d70f745e 100644 (file)
@@ -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