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
fa113341
Commit
fa113341
authored
May 15, 2002
by
Stefan Monnier
Browse files
(read_char_x_menu_prompt): Use an equivalent but more meaningful test.
(read_char_minibuf_menu_prompt): Fix typo.
parent
95673002
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/keyboard.c
src/keyboard.c
+2
-2
No files found.
src/keyboard.c
View file @
fa113341
...
...
@@ -7528,7 +7528,7 @@ read_char_x_menu_prompt (nmaps, maps, prev_event, used_mouse_menu)
}
/* If we don't have any menus, just read a character normally. */
if (
mapno >= nmaps
)
if (
!STRINGP (name)
)
return Qnil;
#ifdef HAVE_MENUS
...
...
@@ -7639,7 +7639,7 @@ read_char_minibuf_menu_prompt (commandflag, nmaps, maps)
}
/* If we don't have any menus, just read a character normally. */
if (!STRINGP (name))
;
if (!STRINGP (name))
return Qnil;
/* Prompt string always starts with map's prompt, and a space. */
...
...
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