aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/menu.c b/src/menu.c
index a37cb359623..f7a3f55b070 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1112,10 +1112,10 @@ Lisp_Object
1112x_popup_menu_1 (Lisp_Object position, Lisp_Object menu) 1112x_popup_menu_1 (Lisp_Object position, Lisp_Object menu)
1113{ 1113{
1114 if (!NILP (Vx_popup_menu_function)) 1114 if (!NILP (Vx_popup_menu_function))
1115 return run_hook_with_args (3, ((Lisp_Object[]) { 1115 {
1116 Qx_popup_menu_function, position, 1116 Lisp_Object args[] = { Qx_popup_menu_function, position, menu, };
1117 menu}), 1117 return run_hook_with_args (3, args, Ffuncall);
1118 Ffuncall); 1118 }
1119 1119
1120 Lisp_Object keymap, tem, tem2 = Qnil; 1120 Lisp_Object keymap, tem, tem2 = Qnil;
1121 int xpos = 0, ypos = 0; 1121 int xpos = 0, ypos = 0;