HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9567300
)
(read_char_x_menu_prompt): Use an equivalent but more meaningful test.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 15 May 2002 22:34:57 +0000
(22:34 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 15 May 2002 22:34:57 +0000
(22:34 +0000)
(read_char_minibuf_menu_prompt): Fix typo.
src/keyboard.c
patch
|
blob
|
blame
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index
90b8356
..
63df340
100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-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. */