1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

Fix treatment of menu-bar-files-menu.

* lisp/menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
rather than just an unused variable that inherits from the real one.

* doc/lispref/maps.texi (Standard Keymaps): Update File menu description.
This commit is contained in:
Glenn Morris 2010-10-26 21:06:52 -07:00
parent 931c1dfaae
commit aab705a2a8
4 changed files with 16 additions and 10 deletions

View File

@ -1,3 +1,7 @@
2010-10-27 Glenn Morris <rgm@gnu.org>
* maps.texi (Standard Keymaps): Update File menu description.
2010-10-22 Eli Zaretskii <eliz@gnu.org> 2010-10-22 Eli Zaretskii <eliz@gnu.org>
* display.texi (Window Systems): Deprecate use of window-system as * display.texi (Window Systems): Deprecate use of window-system as

View File

@ -1,7 +1,8 @@
@c -*-texinfo-*- @c -*-texinfo-*-
@c This is part of the GNU Emacs Lisp Reference Manual. @c This is part of the GNU Emacs Lisp Reference Manual.
@c Copyright (C) 1990, 1991, 1992, 1993, 1999, 2001, 2002, 2003, 2004, @c Copyright (C) 1990, 1991, 1992, 1993, 1999, 2001, 2002, 2003, 2004,
@c 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. @c 2005, 2006, 2007, 2008, 2009, 2010
@c Free Software Foundation, Inc.
@c See the file elisp.texi for copying conditions. @c See the file elisp.texi for copying conditions.
@setfilename ../../info/maps @setfilename ../../info/maps
@node Standard Keymaps, Standard Hooks, Standard Buffer-Local Variables, Top @node Standard Keymaps, Standard Hooks, Standard Buffer-Local Variables, Top
@ -183,9 +184,9 @@ A sparse keymap used by Lisp mode.
@vindex menu-bar-edit-menu @vindex menu-bar-edit-menu
The keymap which displays the Edit menu in the menu bar. The keymap which displays the Edit menu in the menu bar.
@item menu-bar-files-menu @item menu-bar-file-menu
@vindex menu-bar-files-menu @vindex menu-bar-file-menu
The keymap which displays the Files menu in the menu bar. The keymap which displays the File menu in the menu bar.
@item menu-bar-help-menu @item menu-bar-help-menu
@vindex menu-bar-help-menu @vindex menu-bar-help-menu
@ -239,6 +240,3 @@ The keymap defining the contents of the tool bar.
A full keymap used by View mode. A full keymap used by View mode.
@end table @end table
@ignore
arch-tag: b741253c-7e23-4a02-b3fa-cffd9e4d72b9
@end ignore

View File

@ -1,3 +1,8 @@
2010-10-27 Glenn Morris <rgm@gnu.org>
* menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
rather than just an unused variable that inherits from the real one.
2010-10-23 Michael McNamara <mac@mail.brushroad.com> 2010-10-23 Michael McNamara <mac@mail.brushroad.com>
* verilog-mode.el (verilog-directive-re): Make this variable * verilog-mode.el (verilog-directive-re): Make this variable

View File

@ -55,8 +55,8 @@
(defvar menu-bar-file-menu (make-sparse-keymap "File")) (defvar menu-bar-file-menu (make-sparse-keymap "File"))
(define-key global-map [menu-bar file] (cons (purecopy "File") menu-bar-file-menu)) (define-key global-map [menu-bar file] (cons (purecopy "File") menu-bar-file-menu))
;; This alias is for compatibility with 19.28 and before. ;; Only declared obsolete (and only made a proper alias) in 23.3.
(defvar menu-bar-files-menu menu-bar-file-menu) (define-obsolete-variable-alias 'menu-bar-files-menu 'menu-bar-file-menu "22.1")
;; This is referenced by some code below; it is defined in uniquify.el ;; This is referenced by some code below; it is defined in uniquify.el
(defvar uniquify-buffer-name-style) (defvar uniquify-buffer-name-style)
@ -1997,5 +1997,4 @@ If FRAME is nil or not given, use the selected frame."
(provide 'menu-bar) (provide 'menu-bar)
;; arch-tag: 6e6a3c22-4ec4-4d3d-8190-583f8ef94ced
;;; menu-bar.el ends here ;;; menu-bar.el ends here