aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 9e1a817946a..9ab7bdf971f 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -1649,7 +1649,7 @@ x_menu_show (struct frame *f, int x, int y, int menuflags,
1649 { 1649 {
1650 unblock_input (); 1650 unblock_input ();
1651 /* Make "Cancel" equivalent to C-g. */ 1651 /* Make "Cancel" equivalent to C-g. */
1652 Fsignal (Qquit, Qnil); 1652 quit ();
1653 } 1653 }
1654 1654
1655 unblock_input (); 1655 unblock_input ();
@@ -1913,7 +1913,7 @@ x_dialog_show (struct frame *f, Lisp_Object title,
1913 } 1913 }
1914 else 1914 else
1915 /* Make "Cancel" equivalent to C-g. */ 1915 /* Make "Cancel" equivalent to C-g. */
1916 Fsignal (Qquit, Qnil); 1916 quit ();
1917 1917
1918 return Qnil; 1918 return Qnil;
1919} 1919}
@@ -2304,7 +2304,7 @@ x_menu_show (struct frame *f, int x, int y, int menuflags,
2304 if (!(menuflags & MENU_FOR_CLICK)) 2304 if (!(menuflags & MENU_FOR_CLICK))
2305 { 2305 {
2306 unblock_input (); 2306 unblock_input ();
2307 Fsignal (Qquit, Qnil); 2307 quit ();
2308 } 2308 }
2309 break; 2309 break;
2310 } 2310 }