aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward M. Reingold1998-05-12 15:32:50 +0000
committerEdward M. Reingold1998-05-12 15:32:50 +0000
commitb67c85e9a3efb8eb8d126299e38d5c4f7d583596 (patch)
tree22af7e3bd29fe720059508d0070bec3fcaf07aa4
parentf8cac35aaeabbb69cb9de088f8ed1f80378c6f94 (diff)
downloademacs-b67c85e9a3efb8eb8d126299e38d5c4f7d583596.tar.gz
emacs-b67c85e9a3efb8eb8d126299e38d5c4f7d583596.zip
Add separators to Holidays menu.
-rw-r--r--lisp/calendar/cal-menu.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/calendar/cal-menu.el b/lisp/calendar/cal-menu.el
index 5a0e2163702..559fac85e70 100644
--- a/lisp/calendar/cal-menu.el
+++ b/lisp/calendar/cal-menu.el
@@ -193,8 +193,11 @@
193 t) 193 t)
194 l))) 194 l)))
195 (setq l (cons ["Mark Holidays" mark-calendar-holidays t] 195 (setq l (cons ["Mark Holidays" mark-calendar-holidays t]
196 (cons ["Unmark Calendar" calendar-unmark t] l))) 196 (cons ["Unmark Calendar" calendar-unmark t]
197 (cons ["--" '("--") separator-1] l))))
197 (easy-menu-change nil "Holidays" (nreverse l)) 198 (easy-menu-change nil "Holidays" (nreverse l))
199 (define-key calendar-mode-map [menu-bar Holidays separator-2]
200 '("--"))
198 (define-key calendar-mode-map [menu-bar Holidays today] 201 (define-key calendar-mode-map [menu-bar Holidays today]
199 `(,(format "For Today (%s)" 202 `(,(format "For Today (%s)"
200 (calendar-date-string (calendar-current-date) t t)) 203 (calendar-date-string (calendar-current-date) t t))