[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Info menu item bugs

From: John Paul Wallington
Subject: Re: Info menu item bugs
Date: Fri, 21 Mar 2003 15:53:05 +0000
User-agent: Gnus/5.090017 (Oort Gnus v0.17) Emacs/21.3.50 (gnu/linux)

"Jan D." <address@hidden> wrote:

> Anyway, it must be a bug that the Info menu is placed to the left of File,
> Something must have happened in info-mode.

No, it is caused by the change to `easy-menu-add-item' to default MAP
to the current-global-map.  We can back out like so, but it would be
nice to fix it instead.

diff -u -r1.57 easymenu.el
--- easymenu.el 16 Mar 2003 00:39:23 -0000      1.57
+++ easymenu.el 20 Mar 2003 02:24:01 -0000
@@ -516,9 +516,6 @@
 ITEM is either defined as in `easy-menu-define' or a non-nil value returned
 by `easy-menu-item-present-p' or `easy-menu-remove-item' or a menu defined
 earlier by `easy-menu-define' or `easy-menu-create-menu'."
-  (unless map
-    (setq map (current-global-map))
-    (push 'menu-bar path))
   (setq map (easy-menu-get-map map path
                               (and (null map) (null path)
                                    (stringp (car-safe item))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]