aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/calendar/calendar.el15
1 files changed, 8 insertions, 7 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index d601cf6a22c..2140e538492 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -214,10 +214,10 @@ If nil, make an icon of the frame. If non-nil, delete the frame."
214(defface calendar-today 214(defface calendar-today
215 '((t (:underline t))) 215 '((t (:underline t)))
216 "Face for indicating today's date in the calendar. 216 "Face for indicating today's date in the calendar.
217See `calendar-today-marker'." 217See the variable `calendar-today-marker'."
218 :group 'calendar-faces) 218 :group 'calendar-faces)
219;; Backward-compatibility alias. FIXME make obsolete. 219
220(put 'calendar-today-face 'face-alias 'calendar-today) 220(define-obsolete-face-alias 'calendar-today-face 'calendar-today "22.1")
221 221
222(defface diary 222(defface diary
223 '((((min-colors 88) (class color) (background light)) 223 '((((min-colors 88) (class color) (background light))
@@ -234,8 +234,8 @@ See `calendar-today-marker'."
234Used to mark diary entries in the calendar (see `diary-entry-marker'), 234Used to mark diary entries in the calendar (see `diary-entry-marker'),
235and to highlight the date header in the fancy diary." 235and to highlight the date header in the fancy diary."
236 :group 'calendar-faces) 236 :group 'calendar-faces)
237;; Backward-compatibility alias. FIXME make obsolete. 237
238(put 'diary-face 'face-alias 'diary) 238(define-obsolete-face-alias 'diary-face 'diary "22.1")
239 239
240(defface holiday 240(defface holiday
241 '((((class color) (background light)) 241 '((((class color) (background light))
@@ -247,8 +247,8 @@ and to highlight the date header in the fancy diary."
247 "Face for indicating in the calendar dates that have holidays. 247 "Face for indicating in the calendar dates that have holidays.
248See `calendar-holiday-marker'." 248See `calendar-holiday-marker'."
249 :group 'calendar-faces) 249 :group 'calendar-faces)
250;; Backward-compatibility alias. FIXME make obsolete. 250
251(put 'holiday-face 'face-alias 'holiday) 251(define-obsolete-face-alias 'holiday-face 'holiday "22.1")
252 252
253;; These briefly checked font-lock-mode, but that is broken, since it 253;; These briefly checked font-lock-mode, but that is broken, since it
254;; is a buffer-local variable, and which buffer happens to be current 254;; is a buffer-local variable, and which buffer happens to be current
@@ -2337,6 +2337,7 @@ The date is marked with `calendar-today-marker'. You might want to add
2337this function to `calendar-today-visible-hook'." 2337this function to `calendar-today-visible-hook'."
2338 (calendar-mark-visible-date (calendar-cursor-to-date) calendar-today-marker)) 2338 (calendar-mark-visible-date (calendar-cursor-to-date) calendar-today-marker))
2339 2339
2340;; FIXME why the car? Almost every usage calls list on the args.
2340(defun calendar-date-compare (date1 date2) 2341(defun calendar-date-compare (date1 date2)
2341 "Return t if DATE1 is before DATE2, nil otherwise. 2342 "Return t if DATE1 is before DATE2, nil otherwise.
2342The actual dates are in the car of DATE1 and DATE2." 2343The actual dates are in the car of DATE1 and DATE2."