mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Fix inconsistent definition and usage of 'calendar-buffer'
* lisp/calendar/calendar.el (calendar-buffer): Define it as a variable. * lisp/calendar/diary-lib.el (diary-mark-entries): Set 'calendar-buffer' as a string. (bug#79994)
This commit is contained in:
parent
dea8f11c09
commit
e1d65b3c22
2 changed files with 2 additions and 2 deletions
|
|
@ -1098,7 +1098,7 @@ Otherwise, use symbolic time zones like \"CET\"."
|
|||
(defconst calendar-first-date-row 3
|
||||
"First row in the calendar with actual dates.")
|
||||
|
||||
(defconst calendar-buffer "*Calendar*"
|
||||
(defvar calendar-buffer "*Calendar*"
|
||||
"Name of the buffer used for the calendar.")
|
||||
|
||||
(defun calendar-get-buffer ()
|
||||
|
|
|
|||
|
|
@ -1402,7 +1402,7 @@ marks. This is intended to deal with deleted diary entries."
|
|||
(diary-buffer (find-buffer-visiting diary-file))
|
||||
;; Record current calendar buffer in case this function is
|
||||
;; called in a calendar-mode buffer not named `calendar-buffer'.
|
||||
(calendar-buffer (calendar-get-buffer))
|
||||
(calendar-buffer (buffer-name (calendar-get-buffer)))
|
||||
;; Dynamically bound in diary-include-files.
|
||||
(d-incp (and (boundp 'diary-including) diary-including))
|
||||
file-glob-attrs temp-buff)
|
||||
|
|
|
|||
Loading…
Reference in a new issue