diff options
| author | Stefan Monnier | 2009-09-13 22:28:57 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-09-13 22:28:57 +0000 |
| commit | 7d0105e5735949bc5810732f0f707ae31bbe13db (patch) | |
| tree | f2be73beebeaf284ae865de8e039ededd43537d9 | |
| parent | d22f7ffac59c38f78faf34df6bac0cb8efbf4794 (diff) | |
| download | emacs-7d0105e5735949bc5810732f0f707ae31bbe13db.tar.gz emacs-7d0105e5735949bc5810732f0f707ae31bbe13db.zip | |
(ispell-command-loop): Improve last fix, using the new read-key function.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c10bd3a0cc4..328e68dc7fb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * textmodes/ispell.el (ispell-command-loop): Improve last fix, using | ||
| 4 | the new read-key function. | ||
| 5 | |||
| 1 | 2009-09-13 Chong Yidong <cyd@stupidchicken.com> | 6 | 2009-09-13 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it | 8 | * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index aa707f5d9c6..706e598200b 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -1952,10 +1952,7 @@ Global `ispell-quit' set to start location to continue spell session." | |||
| 1952 | ;; event), stop ispell. As a special exception, | 1952 | ;; event), stop ispell. As a special exception, |
| 1953 | ;; ignore mouse events occuring in the same frame. | 1953 | ;; ignore mouse events occuring in the same frame. |
| 1954 | (while (and input-valid (not (characterp char))) | 1954 | (while (and input-valid (not (characterp char))) |
| 1955 | (setq char (read-event)) | 1955 | (setq char (read-key)) |
| 1956 | ;; Convert kp-0 to ?0, etc. | ||
| 1957 | (when (symbolp char) | ||
| 1958 | (setq char (get char 'ascii-character))) | ||
| 1959 | (setq input-valid | 1956 | (setq input-valid |
| 1960 | (or (characterp char) | 1957 | (or (characterp char) |
| 1961 | (and (mouse-event-p char) | 1958 | (and (mouse-event-p char) |