[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xmenu.c
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/xmenu.c |
Date: |
Sun, 01 May 2005 14:49:29 -0400 |
Index: emacs/src/xmenu.c
diff -c emacs/src/xmenu.c:1.285 emacs/src/xmenu.c:1.286
*** emacs/src/xmenu.c:1.285 Mon Apr 18 09:38:46 2005
--- emacs/src/xmenu.c Sun May 1 18:49:28 2005
***************
*** 2889,2894 ****
--- 2889,2897 ----
}
}
}
+ else if (!for_click)
+ /* Make "Cancel" equivalent to C-g. */
+ Fsignal (Qquit, Qnil);
return Qnil;
}
***************
*** 3519,3526 ****
entry = Qnil;
break;
case XM_NO_SELECT:
! /* Make "Cancel" equivalent to C-g unless this menu was popped up by
! a mouse press. */
if (! for_click)
Fsignal (Qquit, Qnil);
entry = Qnil;
--- 3522,3529 ----
entry = Qnil;
break;
case XM_NO_SELECT:
! /* Make "Cancel" equivalent to C-g unless FOR_CLICK (which means
! the menu was invoked with a mouse event as POSITION). */
if (! for_click)
Fsignal (Qquit, Qnil);
entry = Qnil;
- [Emacs-diffs] Changes to emacs/src/xmenu.c,
Richard M . Stallman <=