[Top][All Lists]

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

Re: [calendar] Holidays menu doesn't go away

From: John Paul Wallington
Subject: Re: [calendar] Holidays menu doesn't go away
Date: Wed, 19 Mar 2003 19:33:41 +0000
User-agent: Gnus/5.090017 (Oort Gnus v0.17) Emacs/21.3.50 (gnu/linux)

Jesper Harder <address@hidden> wrote:

> The "Holidays" menu doesn't go away after quitting from the calendar.

There is a similar symptom if you invoke then quit `info'.

Here is a fix, but I am not sure when we do want to stick `menu-bar'
in the front of path.

--- easymenu.el 16 Mar 2003 00:39:23 -0000      1.57
+++ easymenu.el 19 Mar 2003 19:29:15 -0000
@@ -517,8 +517,7 @@
 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 (current-global-map)))
   (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]