Parent Directory | Revision Log | Patch
revision 1.285 by ttn, Mon Apr 18 09:38:46 2005 UTC | revision 1.286 by rms, Sun May 1 18:49:28 2005 UTC | |
---|---|---|
# | Line 2889 xmenu_show (f, x, y, for_click, keymaps, | Line 2889 xmenu_show (f, x, y, for_click, keymaps, |
2889 | } | } |
2890 | } | } |
2891 | } | } |
2892 | else if (!for_click) | |
2893 | /* Make "Cancel" equivalent to C-g. */ | |
2894 | Fsignal (Qquit, Qnil); | |
2895 | ||
2896 | return Qnil; | return Qnil; |
2897 | } | } |
# | Line 3519 xmenu_show (f, x, y, for_click, keymaps, | Line 3522 xmenu_show (f, x, y, for_click, keymaps, |
3522 | entry = Qnil; | entry = Qnil; |
3523 | break; | break; |
3524 | case XM_NO_SELECT: | case XM_NO_SELECT: |
3525 | /* Make "Cancel" equivalent to C-g unless this menu was popped up by | /* Make "Cancel" equivalent to C-g unless FOR_CLICK (which means |
3526 | a mouse press. */ | the menu was invoked with a mouse event as POSITION). */ |
3527 | if (! for_click) | if (! for_click) |
3528 | Fsignal (Qquit, Qnil); | Fsignal (Qquit, Qnil); |
3529 | entry = Qnil; | entry = Qnil; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |