Mercurial > emacs
changeset 72260:6e63f47b8977
(w32_menu_show, w32_dialog_show): Call Fsignal to quit
when no option selected except when for_click.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Thu, 03 Aug 2006 22:05:07 +0000 |
parents | 7fcd41d936c5 |
children | 1f5f7c7bda8a |
files | src/w32menu.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32menu.c Thu Aug 03 18:41:58 2006 +0000 +++ b/src/w32menu.c Thu Aug 03 22:05:07 2006 +0000 @@ -1994,6 +1994,9 @@ } } } + else if (!for_click) + /* Make "Cancel" equivalent to C-g. */ + Fsignal (Qquit, Qnil); return Qnil; } @@ -2186,6 +2189,9 @@ } } } + else + /* Make "Cancel" equivalent to C-g. */ + Fsignal (Qquit, Qnil); return Qnil; }