aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1998-10-14 12:59:30 +0000
committerRichard M. Stallman1998-10-14 12:59:30 +0000
commit07ba902ebf0d781ce9fb79b6fe3804134f807e1c (patch)
tree9678e148b2f6a08f6579cd01a163121c5aa88158 /src
parent0a6f5134bd3d4dfa8293c3bca44d83f46891dcd3 (diff)
downloademacs-07ba902ebf0d781ce9fb79b6fe3804134f807e1c.tar.gz
emacs-07ba902ebf0d781ce9fb79b6fe3804134f807e1c.zip
(parse_menu_item): Avoid initialization for Lisp_Object.
(command_loop): Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 730b07a9531..adfda2e9bcb 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1059,7 +1059,8 @@ command_loop ()
1059{ 1059{
1060 if (command_loop_level > 0 || minibuf_level > 0) 1060 if (command_loop_level > 0 || minibuf_level > 0)
1061 { 1061 {
1062 Lisp_Object val = internal_catch (Qexit, command_loop_2, Qnil); 1062 Lisp_Object val;
1063 val = internal_catch (Qexit, command_loop_2, Qnil);
1063 executing_macro = Qnil; 1064 executing_macro = Qnil;
1064 return val; 1065 return val;
1065 } 1066 }
@@ -5836,12 +5837,16 @@ parse_menu_item (item, notreal, inmenubar)
5836 int notreal, inmenubar; 5837 int notreal, inmenubar;
5837{ 5838{
5838 Lisp_Object def, tem, item_string, start; 5839 Lisp_Object def, tem, item_string, start;
5839 Lisp_Object cachelist = Qnil; 5840 Lisp_Object cachelist;
5840 Lisp_Object filter = Qnil; 5841 Lisp_Object filter;
5841 Lisp_Object keyhint = Qnil; 5842 Lisp_Object keyhint;
5842 int i; 5843 int i;
5843 int newcache = 0; 5844 int newcache = 0;
5844 5845
5846 cachelist = Qnil;
5847 filter = Qnil;
5848 keyhint = Qnil;
5849
5845 if (!CONSP (item)) 5850 if (!CONSP (item))
5846 return 0; 5851 return 0;
5847 5852