summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2015-03-25 09:34:20 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2015-03-25 09:34:20 -0400
commit76040ddd8a4142e2933f1c24940d9e20c206ee6f (patch)
tree5bf3e4d0e6680bd1d861e9e8ddf73a79524c3dd4 /lisp
parent176d864cbfb4110eff983dd0053b8401fb76e82c (diff)
downloademacs-76040ddd8a4142e2933f1c24940d9e20c206ee6f.tar.gz
* lisp/xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/xt-mouse.el2
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