aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2010-10-18 14:38:11 -0400
committerStefan Monnier2010-10-18 14:38:11 -0400
commite8b69dc2863ee79bef680cbd3837267f2481f005 (patch)
tree881dcaf5559f2bb3d949012041a21b9d38bb812d
parenta8c41b4c0d3b0a3e87f17bbcdd8ac12dae296b3a (diff)
downloademacs-e8b69dc2863ee79bef680cbd3837267f2481f005.tar.gz
emacs-e8b69dc2863ee79bef680cbd3837267f2481f005.zip
* lisp/repeat.el (repeat): Use read-key to ignore mouse-down events.
Fixes: debbugs:6256
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/ps-print.el2
-rw-r--r--lisp/repeat.el2
3 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index eb26c3923bf..2f40d3565e0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * repeat.el (repeat): Use read-key (bug#6256).
4
12010-10-18 Chong Yidong <cyd@stupidchicken.com> 52010-10-18 Chong Yidong <cyd@stupidchicken.com>
2 6
3 * emacs-lisp/unsafep.el: Don't mark functions that display 7 * emacs-lisp/unsafep.el: Don't mark functions that display
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index 0efac03f7d5..69b32e5d52d 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -6656,7 +6656,7 @@ If FACE is not a valid face name, use default face."
6656;; But autoload them here to make the separation invisible. 6656;; But autoload them here to make the separation invisible.
6657 6657
6658;;;### (autoloads (ps-mule-end-job ps-mule-begin-job ps-mule-initialize 6658;;;### (autoloads (ps-mule-end-job ps-mule-begin-job ps-mule-initialize
6659;;;;;; ps-multibyte-buffer) "ps-mule" "ps-mule.el" "9187df3473401876e0df4937c311fbaf") 6659;;;;;; ps-multibyte-buffer) "ps-mule" "ps-mule.el" "18a8bc30e8755ff27de7267f4bce3d99")
6660;;; Generated autoloads from ps-mule.el 6660;;; Generated autoloads from ps-mule.el
6661 6661
6662(defvar ps-multibyte-buffer nil "\ 6662(defvar ps-multibyte-buffer nil "\
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\"."
335 (setq real-last-command 'repeat) 335 (setq real-last-command 'repeat)
336 (setq repeat-undo-count 1) 336 (setq repeat-undo-count 1)
337 (unwind-protect 337 (unwind-protect
338 (while (let ((evt (read-event))) ;FIXME: read-key maybe? 338 (while (let ((evt (read-key)))
339 ;; For clicks, we need to strip the meta-data to 339 ;; For clicks, we need to strip the meta-data to
340 ;; check the underlying event name. 340 ;; check the underlying event name.
341 (eq (or (car-safe evt) evt) 341 (eq (or (car-safe evt) evt)