diff options
Diffstat (limited to 'lisp/calendar/holidays.el')
-rw-r--r-- | lisp/calendar/holidays.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/calendar/holidays.el b/lisp/calendar/holidays.el index 4bc17de3067..bda5dc5a6bb 100644 --- a/lisp/calendar/holidays.el +++ b/lisp/calendar/holidays.el @@ -482,7 +482,7 @@ The optional LABEL is used to label the buffer created." (calendar-increment-month displayed-month displayed-year 3) (setq s (calendar-absolute-from-gregorian (list displayed-month 1 displayed-year)))) - (save-excursion + (save-current-buffer (calendar-in-read-only-buffer holiday-buffer (calendar-set-mode-line (if (= y1 y2) @@ -683,7 +683,7 @@ nil, or if the date is not visible, there is no holiday." (y displayed-year)) (calendar-increment-month m y -1) (holiday-filter-visible-calendar - (calendar-dlet* (year date) + (calendar-dlet (year date) (list (progn (setq year y |