From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Paul Wallington Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: [calendar] Holidays menu doesn't go away Date: Wed, 19 Mar 2003 19:33:41 +0000 Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Message-ID: <8765qf178q.fsf@indigo.shootybangbang.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048102591 4908 80.91.224.249 (19 Mar 2003 19:36:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2003 19:36:31 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Wed Mar 19 20:36:27 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vjMR-0001GV-00 for ; Wed, 19 Mar 2003 20:36:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vjLJ-0006pZ-01 for gebp-emacs-pretest-bug@gmane.org; Wed, 19 Mar 2003 14:35:17 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vjL0-0006Ht-00 for emacs-pretest-bug@gnu.org; Wed, 19 Mar 2003 14:34:58 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vjKr-0005xG-00 for emacs-pretest-bug@gnu.org; Wed, 19 Mar 2003 14:34:51 -0500 Original-Received: from host217-44-221-152.range217-44.btcentralplus.com ([217.44.221.152] helo=indigo.shootybangbang.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vjK3-0004wY-00; Wed, 19 Mar 2003 14:33:59 -0500 Original-Received: from jpw by indigo.shootybangbang.com with local (Exim 3.36 #1 (Debian)) id 18vjJl-0007hg-00; Wed, 19 Mar 2003 19:33:41 +0000 Original-To: Jesper Harder In-Reply-To: (Jesper Harder's message of "Wed, 19 Mar 2003 18:12:44 +0100") X-Attribution: jpw X-Face: R(_z-rF:grdKO.*u`n); p.i$Eiz=h^CO5eDYv"4:K@#\HN09*Ykx}}B{kF/KH}%f_o^Wp List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.pretest.bugs:97 gmane.emacs.devel:12468 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12468 Jesper Harder 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))