summaryrefslogtreecommitdiff
path: root/lisp/calendar/calendar.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-01-09 23:01:24 -0800
committerGlenn Morris <rgm@gnu.org>2018-01-09 23:01:24 -0800
commit27b754d6b3ade7446b139177e324145f2683e089 (patch)
tree49ca12d97edbe5c46c4dccebded31b0399b12eab /lisp/calendar/calendar.el
parent641b817c5c37b2256f85fd54ffea0fbfc572eeae (diff)
downloademacs-27b754d6b3ade7446b139177e324145f2683e089.tar.gz
Remove some obsolete calendar functions and variables
* lisp/calendar/cal-tex.el (cal-tex-list-holidays): Remove alias, obsolete since 24.4. * lisp/calendar/calendar.el (calendar-mode): No longer use calendar-font-lock-keywords. (calendar-font-lock-keywords): Delete variable, obsolete since 24.4. ; * lisp/calendar/holidays.el: Comment.
Diffstat (limited to 'lisp/calendar/calendar.el')
-rw-r--r--lisp/calendar/calendar.el12
1 files changed, 1 insertions, 11 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index 97acfab326b..bfe533fd607 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -1786,10 +1786,7 @@ For a complete description, see the info node `Calendar/Diary'.
;; so let's make sure they're always set. Most likely, this will be reset
;; soon in calendar-generate, but better safe than sorry.
(unless (boundp 'displayed-month) (setq displayed-month 1))
- (unless (boundp 'displayed-year) (setq displayed-year 2001))
- (if (bound-and-true-p calendar-font-lock-keywords)
- (set (make-local-variable 'font-lock-defaults)
- '(calendar-font-lock-keywords t))))
+ (unless (boundp 'displayed-year) (setq displayed-year 2001)))
(defun calendar-string-spread (strings char length)
"Concatenate list of STRINGS separated with copies of CHAR to fill LENGTH.
@@ -2307,13 +2304,6 @@ Negative years are interpreted as years BC; -1 being 1 BC, and so on."
(+ (* 12 (- yr2 yr1))
(- mon2 mon1)))
-(defvar calendar-font-lock-keywords nil
- "Default keywords to highlight in Calendar mode.")
-
-(make-obsolete-variable 'calendar-font-lock-keywords
- "set font-lock keywords in `calendar-mode-hook', \
-or customize calendar faces." "24.4")
-
(defun calendar-day-name (date &optional abbrev absolute)
"Return a string with the name of the day of the week of DATE.
DATE should be a list in the format (MONTH DAY YEAR), unless the