diff options
| author | Glenn Morris | 2010-10-26 21:06:52 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-10-26 21:06:52 -0700 |
| commit | aab705a2a898cae643b328d745410d844cf08e6e (patch) | |
| tree | 0a9301a38cbe32e6501d25e9943b8b8b83d7930d /lisp | |
| parent | 931c1dfaae8e1fc4c77e563912ee4fb5953ae844 (diff) | |
| download | emacs-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.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/menu-bar.el | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fe7fc852218..1522e864a54 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-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 | |||
| 1 | 2010-10-23 Michael McNamara <mac@mail.brushroad.com> | 6 | 2010-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 |