changeset 4101:e7f74dc81c7f

(help-menu-bar-map): Put the Help item in this map.
author Richard M. Stallman <rms@gnu.org>
date Thu, 15 Jul 1993 05:40:01 +0000
parents f8c6e5e9603f
children dba3acd9972c
files lisp/menu-bar.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/menu-bar.el	Thu Jul 15 05:36:59 1993 +0000
+++ b/lisp/menu-bar.el	Thu Jul 15 05:40:01 1993 +0000
@@ -25,7 +25,9 @@
 
 (define-key global-map [menu-bar] (make-sparse-keymap "menu-bar"))
 (defvar menu-bar-help-menu (make-sparse-keymap "Help"))
-(define-key global-map [menu-bar help] (cons "Help" menu-bar-help-menu))
+;; Put Help item in help-menu-bar-map so it always goes last.
+(setq help-menu-bar-map (make-sparse-keymap))
+(define-key help-menu-bar-map [help] (cons "Help" menu-bar-help-menu))
 (defvar menu-bar-edit-menu (make-sparse-keymap "Edit"))
 (define-key global-map [menu-bar edit] (cons "Edit" menu-bar-edit-menu))
 (defvar menu-bar-file-menu (make-sparse-keymap "File"))