Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7e73ea32
Commit
7e73ea32
authored
Sep 13, 2009
by
Chong Yidong
Browse files
* textmodes/ispell.el (ispell-command-loop): Convert keys such as
kp-0 to ascii equivalents (Bug#4325).
parent
6a5ca7c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/textmodes/ispell.el
lisp/textmodes/ispell.el
+3
-0
No files found.
lisp/ChangeLog
View file @
7e73ea32
2009-09-13 Per Starbäck <starback@ling.uu.se> (tiny change)
* textmodes/ispell.el (ispell-command-loop): Convert keys such as
kp-0 to ascii equivalents (Bug#4325).
2009-09-13 Chong Yidong <cyd@stupidchicken.com>
* progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
...
...
lisp/textmodes/ispell.el
View file @
7e73ea32
...
...
@@ -1953,6 +1953,9 @@ Global `ispell-quit' set to start location to continue spell session."
;; ignore mouse events occuring in the same frame.
(while (and input-valid (not (characterp char)))
(setq char (read-event))
;; Convert kp-0 to ?0, etc.
(when (symbolp char)
(setq char (get char 'ascii-character)))
(setq input-valid
(or (characterp char)
(and (mouse-event-p char)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment