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
2479e91e
Commit
2479e91e
authored
Nov 24, 1995
by
Richard M. Stallman
Browse files
(read_char): Handle unread events from popup menus.
parent
954080b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/keyboard.c
src/keyboard.c
+7
-0
No files found.
src/keyboard.c
View file @
2479e91e
...
...
@@ -1700,6 +1700,13 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
c
=
XCONS
(
Vunread_command_events
)
->
car
;
Vunread_command_events
=
XCONS
(
Vunread_command_events
)
->
cdr
;
/* Undo what read_char_x_menu_prompt did when it unread
additional keys returned by Fx_popup_menu. */
if
(
CONSP
(
c
)
&&
(
SYMBOLP
(
XCONS
(
c
)
->
car
)
||
INTEGERP
(
XCONS
(
c
)
->
car
))
&&
NILP
(
XCONS
(
c
)
->
cdr
))
c
=
XCONS
(
c
)
->
car
;
if
(
this_command_key_count
==
0
)
goto
reread_first
;
else
...
...
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