aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorStefan Monnier2007-10-16 16:28:39 +0000
committerStefan Monnier2007-10-16 16:28:39 +0000
commit9beb8baa1f1b59f8e76df62e95647c39acbac5e7 (patch)
treed01390c83402aff49ddf14e282a9edb9bc983ba3 /src/keyboard.c
parentd3f41ff55563551d241407ef640c9984156f87b8 (diff)
downloademacs-9beb8baa1f1b59f8e76df62e95647c39acbac5e7.tar.gz
emacs-9beb8baa1f1b59f8e76df62e95647c39acbac5e7.zip
* xfns.c (Fx_create_frame, Fx_display_list):
* window.c (window_fixed_size_p, enlarge_window, shrink_window_lowest_first): * macterm.c (init_font_name_table): * macfns.c (Fx_create_frame, Fx_display_list): * lread.c (close_load_descs): * keyboard.c (read_char_x_menu_prompt): * fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent): * coding.c (code_convert_region_unwind): Test the type of an object rather than just !NILP before extracting data from it.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index bd8263f9b04..fccf5c88eaa 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -8538,7 +8538,7 @@ read_char_x_menu_prompt (nmaps, maps, prev_event, used_mouse_menu)
8538 to indicate that they came from a mouse menu, 8538 to indicate that they came from a mouse menu,
8539 so that when present in last_nonmenu_event 8539 so that when present in last_nonmenu_event
8540 they won't confuse things. */ 8540 they won't confuse things. */
8541 for (tem = XCDR (value); !NILP (tem); tem = XCDR (tem)) 8541 for (tem = XCDR (value); CONSP (tem); tem = XCDR (tem))
8542 { 8542 {
8543 record_menu_key (XCAR (tem)); 8543 record_menu_key (XCAR (tem));
8544 if (SYMBOLP (XCAR (tem)) 8544 if (SYMBOLP (XCAR (tem))