projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
893db5b
)
keyboard.c (read_char): Return after executing from special map.
author
Jan Djärv
<jan.h.d@swipnet.se>
Tue, 12 Jan 2010 08:12:52 +0000
(09:12 +0100)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Tue, 12 Jan 2010 08:12:52 +0000
(09:12 +0100)
src/ChangeLog
patch
|
blob
|
history
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index d14ef05a1fff7efcd63297aaf6ef5e226826f024..f52cf8fee632ac380293607db4f555265675b37a 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+2010-01-12 Jan Djärv <jan.h.d@swipnet.se>
+
+ * keyboard.c (read_char): Return after executing from special map.
+
2010-01-12 Glenn Morris <rgm@gnu.org>
* emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Set it to
diff --git
a/src/keyboard.c
b/src/keyboard.c
index 13d13cd3276944cae889a84153cbc716a1b13867..8bd8cf304681dfcbf453d0e75da2248e4be612bb 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-3178,7
+3178,10
@@
read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu, end_time)
unbind_to (count, Qnil);
#endif
- goto retry;
+ /* The command may have changed the keymaps. Pretend there is input
+ in another keyboard and return. This will recalculate keymaps. */
+ c = make_number (-2);
+ goto exit;
}
/* Handle things that only apply to characters. */