aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-10-26 21:06:52 -0700
committerGlenn Morris2010-10-26 21:06:52 -0700
commitaab705a2a898cae643b328d745410d844cf08e6e (patch)
tree0a9301a38cbe32e6501d25e9943b8b8b83d7930d
parent931c1dfaae8e1fc4c77e563912ee4fb5953ae844 (diff)
downloademacs-aab705a2a898cae643b328d745410d844cf08e6e.tar.gz
emacs-aab705a2a898cae643b328d745410d844cf08e6e.zip
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.
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/maps.texi12
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/menu-bar.el5
4 files changed, 16 insertions, 10 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index ccbbe1b9c81..5974893288a 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12010-10-27 Glenn Morris <rgm@gnu.org>
2
3 * maps.texi (Standard Keymaps): Update File menu description.
4
12010-10-22 Eli Zaretskii <eliz@gnu.org> 52010-10-22 Eli Zaretskii <eliz@gnu.org>
2 6
3 * display.texi (Window Systems): Deprecate use of window-system as 7 * display.texi (Window Systems): Deprecate use of window-system as
diff --git a/doc/lispref/maps.texi b/doc/lispref/maps.texi
index a5b126afcb2..4b416a82d64 100644
--- a/doc/lispref/maps.texi
+++ b/doc/lispref/maps.texi
@@ -1,7 +1,8 @@
1@c -*-texinfo-*- 1@c -*-texinfo-*-
2@c This is part of the GNU Emacs Lisp Reference Manual. 2@c This is part of the GNU Emacs Lisp Reference Manual.
3@c Copyright (C) 1990, 1991, 1992, 1993, 1999, 2001, 2002, 2003, 2004, 3@c Copyright (C) 1990, 1991, 1992, 1993, 1999, 2001, 2002, 2003, 2004,
4@c 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 4@c 2005, 2006, 2007, 2008, 2009, 2010
5@c Free Software Foundation, Inc.
5@c See the file elisp.texi for copying conditions. 6@c See the file elisp.texi for copying conditions.
6@setfilename ../../info/maps 7@setfilename ../../info/maps
7@node Standard Keymaps, Standard Hooks, Standard Buffer-Local Variables, Top 8@node Standard Keymaps, Standard Hooks, Standard Buffer-Local Variables, Top
@@ -183,9 +184,9 @@ A sparse keymap used by Lisp mode.
183@vindex menu-bar-edit-menu 184@vindex menu-bar-edit-menu
184The keymap which displays the Edit menu in the menu bar. 185The keymap which displays the Edit menu in the menu bar.
185 186
186@item menu-bar-files-menu 187@item menu-bar-file-menu
187@vindex menu-bar-files-menu 188@vindex menu-bar-file-menu
188The keymap which displays the Files menu in the menu bar. 189The keymap which displays the File menu in the menu bar.
189 190
190@item menu-bar-help-menu 191@item menu-bar-help-menu
191@vindex menu-bar-help-menu 192@vindex menu-bar-help-menu
@@ -239,6 +240,3 @@ The keymap defining the contents of the tool bar.
239A full keymap used by View mode. 240A full keymap used by View mode.
240@end table 241@end table
241 242
242@ignore
243 arch-tag: b741253c-7e23-4a02-b3fa-cffd9e4d72b9
244@end ignore
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fe7fc852218..1522e864a54 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12010-10-27 Glenn Morris <rgm@gnu.org>
2
3 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4 rather than just an unused variable that inherits from the real one.
5
12010-10-23 Michael McNamara <mac@mail.brushroad.com> 62010-10-23 Michael McNamara <mac@mail.brushroad.com>
2 7
3 * verilog-mode.el (verilog-directive-re): Make this variable 8 * verilog-mode.el (verilog-directive-re): Make this variable
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 941ede03996..d25de5b385c 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -55,8 +55,8 @@
55(defvar menu-bar-file-menu (make-sparse-keymap "File")) 55(defvar menu-bar-file-menu (make-sparse-keymap "File"))
56(define-key global-map [menu-bar file] (cons (purecopy "File") menu-bar-file-menu)) 56(define-key global-map [menu-bar file] (cons (purecopy "File") menu-bar-file-menu))
57 57
58;; This alias is for compatibility with 19.28 and before. 58;; Only declared obsolete (and only made a proper alias) in 23.3.
59(defvar menu-bar-files-menu menu-bar-file-menu) 59(define-obsolete-variable-alias 'menu-bar-files-menu 'menu-bar-file-menu "22.1")
60 60
61;; This is referenced by some code below; it is defined in uniquify.el 61;; This is referenced by some code below; it is defined in uniquify.el
62(defvar uniquify-buffer-name-style) 62(defvar uniquify-buffer-name-style)
@@ -1997,5 +1997,4 @@ If FRAME is nil or not given, use the selected frame."
1997 1997
1998(provide 'menu-bar) 1998(provide 'menu-bar)
1999 1999
2000;; arch-tag: 6e6a3c22-4ec4-4d3d-8190-583f8ef94ced
2001;;; menu-bar.el ends here 2000;;; menu-bar.el ends here