comparison src/menubar.c @ 3025:facf3239ba30

[xemacs-hg @ 2005-10-25 11:16:19 by ben] rename new->new_, convert 'foo to `foo' EmacsFrame.c, ExternalClient.c, ExternalShell.c, chartab.c, cmdloop.c, compiler.h, console.c, database.c, device-msw.c, device-x.c, device.c, doc.c, dragdrop.c, eval.c, event-msw.c, event-stream.c, events.c, extents.c, file-coding.c, fns.c, frame-tty.c, frame.c, gpmevent.c, gutter.c, hash.c, imgproc.c, indent.c, keymap.c, lisp-union.h, macros.c, malloc.c, marker.c, menubar-x.c, menubar.c, mule-charset.c, number.c, process.c, profile.h, ralloc.c, redisplay.c, select-common.h, select.c, syntax.c, sysfile.h, sysproc.h, systime.h, syswindows.h, toolbar.c, tooltalk.c, tparam.c, unexaix.c, unexalpha.c, unexconvex.c, unexec.c, unexhp9k800.c, unexmips.c, unicode.c, window.c: new -> new_. 'foo -> `foo'. lwlib-internal.h: redo assert macros to follow lisp.h and not trigger warnings. lwlib.c, xlwtabs.c: new -> new_.
author ben
date Tue, 25 Oct 2005 11:16:49 +0000
parents 9caf26dd924f
children 19a72041c5ed
comparison
equal deleted inserted replaced
3024:b7f26b2f78bd 3025:facf3239ba30
1 /* Implements an elisp-programmable menubar. 1 /* Implements an elisp-programmable menubar.
2 Copyright (C) 1993, 1994 Free Software Foundation, Inc. 2 Copyright (C) 1993, 1994 Free Software Foundation, Inc.
3 Copyright (C) 1995 Tinker Systems and INS Engineering Corp. 3 Copyright (C) 1995 Tinker Systems and INS Engineering Corp.
4 Copyright (C) 2001, 2002, 2003 Ben Wing. 4 Copyright (C) 2001, 2002, 2003, 2005 Ben Wing.
5 5
6 This file is part of XEmacs. 6 This file is part of XEmacs.
7 7
8 XEmacs is free software; you can redistribute it and/or modify it 8 XEmacs is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published by the 9 under the terms of the GNU General Public License as published by the
710 */ ); 710 */ );
711 Vmenu_accelerator_modifiers = list1 (Qmeta); 711 Vmenu_accelerator_modifiers = list1 (Qmeta);
712 712
713 DEFVAR_LISP ("menu-accelerator-enabled", &Vmenu_accelerator_enabled /* 713 DEFVAR_LISP ("menu-accelerator-enabled", &Vmenu_accelerator_enabled /*
714 Whether menu accelerator keys can cause the menubar to become active. 714 Whether menu accelerator keys can cause the menubar to become active.
715 If 'menu-force or 'menu-fallback, then menu accelerator keys can 715 If `menu-force' or `menu-fallback', then menu accelerator keys can
716 be used to activate the top level menu. Once the menubar becomes active, the 716 be used to activate the top level menu. Once the menubar becomes active, the
717 accelerator keys can be used regardless of the value of this variable. 717 accelerator keys can be used regardless of the value of this variable.
718 718
719 menu-force is used to indicate that the menu accelerator key takes 719 menu-force is used to indicate that the menu accelerator key takes
720 precedence over bindings in the current keymap(s). menu-fallback means 720 precedence over bindings in the current keymap(s). menu-fallback means