From d5b213cc0c6f31b09c2fcb8421154273bd778e62 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 6 Apr 2003 20:21:26 +0000 Subject: [PATCH] (cal-menu-update): Use easy-menu-create-menu rather than easy-menu-change. --- lisp/calendar/cal-menu.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/calendar/cal-menu.el b/lisp/calendar/cal-menu.el index cc7538133ba..b74eeed1a05 100644 --- a/lisp/calendar/cal-menu.el +++ b/lisp/calendar/cal-menu.el @@ -202,7 +202,8 @@ not available." (setq l (cons ["Mark Holidays" mark-calendar-holidays t] (cons ["Unmark Calendar" calendar-unmark t] (cons ["--" '("--") t] l)))) - (easy-menu-change nil "Holidays" (nreverse l)) + (define-key calendar-mode-map [menu-bar Holidays] + (cons "Holidays" (easy-menu-create-menu "Holidays" (nreverse l)))) (define-key calendar-mode-map [menu-bar Holidays separator] '("--")) (define-key calendar-mode-map [menu-bar Holidays today] -- 2.39.2