diff options
author | Edward M. Reingold <[email protected]> | 1998-05-11 14:56:37 +0000 |
---|---|---|
committer | Edward M. Reingold <[email protected]> | 1998-05-11 14:56:37 +0000 |
commit | b5305eb0516c217caba18b37ff8c993acaa7cfc0 (patch) | |
tree | f9b32ee66027b066c40b1e21f6a424877475cd0e /lisp/calendar/calendar.el | |
parent | 0516edee5f13a1589df2aa2e316e6f4e9ab5f36c (diff) |
Made holiday button on menu bar related to current calendar display.
Diffstat (limited to 'lisp/calendar/calendar.el')
-rw-r--r-- | lisp/calendar/calendar.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 821748ad4e..65e2ace68f 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el @@ -2025,6 +2025,8 @@ For a complete description, type \ (setq buffer-read-only t) (setq indent-tabs-mode nil) (update-calendar-mode-line) + (make-local-hook 'activate-menubar-hook) + (add-hook 'activate-menubar-hook 'cal-menu-update nil t) (make-local-variable 'calendar-mark-ring) (make-local-variable 'displayed-month);; Month in middle of window. (make-local-variable 'displayed-year));; Year in middle of window. |