2005-06-10 Miles Bader <miles@gnu.org>
+ * calendar/diary-lib.el (diary-button): Remove "-face" suffix from
+ face name.
+ (diary-button-face): New backward-compatibility alias for renamed face.
+ (diary-entry): Use renamed diary-button face.
+
* calendar/calendar.el (diary, calendar-today, holiday)
(mark-visible-calendar-date): Remove "-face" suffix from face names.
(diary-face, calendar-today-face, holiday-face):
(set-window-start window (point-min))))
(message "Preparing diary...done"))))
-(defface diary-button-face '((((type pc) (class color))
- (:foreground "lightblue")))
+(defface diary-button '((((type pc) (class color))
+ (:foreground "lightblue")))
"Default face used for buttons."
:version "22.1"
:group 'diary)
+;; backward-compatibility alias
+(put 'diary-button-face 'face-alias 'diary-button)
(define-button-type 'diary-entry
'action #'diary-goto-entry
- 'face #'diary-button-face)
+ 'face 'diary-button)
(defun diary-goto-entry (button)
(let ((marker (button-get button 'marker)))