summaryrefslogtreecommitdiff
path: root/lisp/repeat.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2010-10-18 14:38:11 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2010-10-18 14:38:11 -0400
commite8b69dc2863ee79bef680cbd3837267f2481f005 (patch)
tree881dcaf5559f2bb3d949012041a21b9d38bb812d /lisp/repeat.el
parenta8c41b4c0d3b0a3e87f17bbcdd8ac12dae296b3a (diff)
downloademacs-e8b69dc2863ee79bef680cbd3837267f2481f005.tar.gz
* lisp/repeat.el (repeat): Use read-key to ignore mouse-down events.
Fixes: debbugs:6256
Diffstat (limited to 'lisp/repeat.el')
-rw-r--r--lisp/repeat.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/repeat.el b/lisp/repeat.el
index 9abe15c7253..b82522ef855 100644
--- a/lisp/repeat.el
+++ b/lisp/repeat.el
@@ -335,7 +335,7 @@ recently executed command not bound to an input event\"."
(setq real-last-command 'repeat)
(setq repeat-undo-count 1)
(unwind-protect
- (while (let ((evt (read-event))) ;FIXME: read-key maybe?
+ (while (let ((evt (read-key)))
;; For clicks, we need to strip the meta-data to
;; check the underlying event name.
(eq (or (car-safe evt) evt)