diff options
| author | Kenichi Handa | 2010-09-16 11:11:13 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-09-16 11:11:13 +0900 |
| commit | 38d50547c2a8195bed0aaeafbbc4c0f277d4e416 (patch) | |
| tree | 388416c9f2cc4746d0d2d9e525a50a6c2f00f3d4 /lisp/repeat.el | |
| parent | fa3f60399014127e711f3f438004950cba0bddb9 (diff) | |
| parent | 6139f995addcb8fce63deb30c7ed0e6f2b618b02 (diff) | |
| download | emacs-38d50547c2a8195bed0aaeafbbc4c0f277d4e416.tar.gz emacs-38d50547c2a8195bed0aaeafbbc4c0f277d4e416.zip | |
merge trunk
Diffstat (limited to 'lisp/repeat.el')
| -rw-r--r-- | lisp/repeat.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/repeat.el b/lisp/repeat.el index eddaf4f020e..86484ec68d6 100644 --- a/lisp/repeat.el +++ b/lisp/repeat.el | |||
| @@ -335,7 +335,12 @@ 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 (eq (read-event) repeat-repeat-char) | 338 | (while (let ((evt (read-event))) ;FIXME: read-key maybe? |
| 339 | ;; For clicks, we need to strip the meta-data to | ||
| 340 | ;; check the underlying event name. | ||
| 341 | (eq (or (car-safe evt) evt) | ||
| 342 | (or (car-safe repeat-repeat-char) | ||
| 343 | repeat-repeat-char))) | ||
| 339 | (repeat repeat-arg)) | 344 | (repeat repeat-arg)) |
| 340 | ;; Make sure `repeat-undo-count' is reset. | 345 | ;; Make sure `repeat-undo-count' is reset. |
| 341 | (setq repeat-undo-count nil)) | 346 | (setq repeat-undo-count nil)) |