summaryrefslogtreecommitdiff
path: root/lisp/menu-bar.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-10-26 21:06:52 -0700
committerGlenn Morris <rgm@gnu.org>2010-10-26 21:06:52 -0700
commitaab705a2a898cae643b328d745410d844cf08e6e (patch)
tree0a9301a38cbe32e6501d25e9943b8b8b83d7930d /lisp/menu-bar.el
parent931c1dfaae8e1fc4c77e563912ee4fb5953ae844 (diff)
downloademacs-aab705a2a898cae643b328d745410d844cf08e6e.tar.gz
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.
Diffstat (limited to 'lisp/menu-bar.el')
-rw-r--r--lisp/menu-bar.el5
1 files changed, 2 insertions, 3 deletions
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 @@
(defvar menu-bar-file-menu (make-sparse-keymap "File"))
(define-key global-map [menu-bar file] (cons (purecopy "File") menu-bar-file-menu))
-;; This alias is for compatibility with 19.28 and before.
-(defvar menu-bar-files-menu menu-bar-file-menu)
+;; Only declared obsolete (and only made a proper alias) in 23.3.
+(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
(defvar uniquify-buffer-name-style)
@@ -1997,5 +1997,4 @@ If FRAME is nil or not given, use the selected frame."
(provide 'menu-bar)
-;; arch-tag: 6e6a3c22-4ec4-4d3d-8190-583f8ef94ced
;;; menu-bar.el ends here