aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2008-07-16 16:38:33 +0000
committerStefan Monnier2008-07-16 16:38:33 +0000
commit4c89a3e0ada7f3e73c155d01ad9435d8ca6b17a5 (patch)
treec49e080fcfdff344689920d3ec53002e8a44e5b4 /src
parent3ec8ef33c510fca00b4c3a58024e2b1e1203e774 (diff)
downloademacs-4c89a3e0ada7f3e73c155d01ad9435d8ca6b17a5.tar.gz
emacs-4c89a3e0ada7f3e73c155d01ad9435d8ca6b17a5.zip
(Qsuper): Remove.
(parse_menu_item): Don't call where_is_internal specially for NS.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog11
-rw-r--r--src/keyboard.c6
2 files changed, 8 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8228011662d..5f3799785da 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12008-07-16 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * keyboard.c (Qsuper): Remove.
4 (parse_menu_item): Don't call where_is_internal specially for NS.
5
12008-07-16 Dan Nicolaescu <dann@ics.uci.edu> 62008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * s/gnu-linux.h: Remove boilerplate comments. 8 * s/gnu-linux.h: Remove boilerplate comments.
@@ -14,7 +19,7 @@
14 19
152008-07-16 Jason Rumney <jasonr@gnu.org> 202008-07-16 Jason Rumney <jasonr@gnu.org>
16 21
17 * w32gui.h: Repeat 26 June changes lost by last change. 22 * w32gui.h: Repeat 26 June changes lost by last change.
18 23
192008-07-16 Dan Nicolaescu <dann@ics.uci.edu> 242008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20 25
@@ -54,8 +59,8 @@
54 59
55 * s/template.h: Remove comments about static. 60 * s/template.h: Remove comments about static.
56 61
57 * sysdep.c: Remove code depending on NEED_PTEM_H, unused. Remove 62 * sysdep.c: Remove code depending on NEED_PTEM_H, unused.
58 if 0-ed code. 63 Remove if 0-ed code.
59 (baud_convert): Don't depend on BAUD_CONVERT, all definitions the 64 (baud_convert): Don't depend on BAUD_CONVERT, all definitions the
60 were the same as the default. 65 were the same as the default.
61 * s/vms.h (BAUD_CONVERT): Remove, same as the default. 66 * s/vms.h (BAUD_CONVERT): Remove, same as the default.
diff --git a/src/keyboard.c b/src/keyboard.c
index f6ec7671904..0ae24b70abb 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -82,7 +82,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
82 82
83#ifdef HAVE_NS 83#ifdef HAVE_NS
84#include "nsterm.h" 84#include "nsterm.h"
85extern Lisp_Object Qsuper;
86#endif 85#endif
87 86
88#ifndef USE_CRT_DLL 87#ifndef USE_CRT_DLL
@@ -8065,12 +8064,7 @@ parse_menu_item (item, notreal, inmenubar)
8065 && SYMBOLP (XSYMBOL (def)->function) 8064 && SYMBOLP (XSYMBOL (def)->function)
8066 && ! NILP (Fget (def, Qmenu_alias))) 8065 && ! NILP (Fget (def, Qmenu_alias)))
8067 def = XSYMBOL (def)->function; 8066 def = XSYMBOL (def)->function;
8068#ifdef HAVE_NS
8069 /* prefer 'super' bindings */
8070 tem = Fwhere_is_internal (def, Qnil, Qsuper, Qt, Qt);
8071#else
8072 tem = Fwhere_is_internal (def, Qnil, Qt, Qnil, Qt); 8067 tem = Fwhere_is_internal (def, Qnil, Qt, Qnil, Qt);
8073#endif
8074 XSETCAR (cachelist, tem); 8068 XSETCAR (cachelist, tem);
8075 if (NILP (tem)) 8069 if (NILP (tem))
8076 { 8070 {