Commit d5b213cc authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(cal-menu-update): Use easy-menu-create-menu rather than easy-menu-change.

parent 90c1e36a
......@@ -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]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment