aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLute Kamstra2005-06-12 09:00:57 +0000
committerLute Kamstra2005-06-12 09:00:57 +0000
commitca0113b85aa9400056fd45296cd97a6e298e11ee (patch)
treedd7172da5e1a06fb8837c1ba2fd8ea13136ea990
parentd02c57d351f178485d0ac225618d30f7450ea739 (diff)
downloademacs-ca0113b85aa9400056fd45296cd97a6e298e11ee.tar.gz
emacs-ca0113b85aa9400056fd45296cd97a6e298e11ee.zip
(calendar-mode): Use run-mode-hooks.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/calendar/calendar.el4
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index aaa8115921c..10d61e8b747 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12005-06-12 Lute Kamstra <lute@gnu.org>
2
3 * calendar/calendar.el (calendar-mode): Use run-mode-hooks.
4
12005-06-11 Luc Teirlinck <teirllm@auburn.edu> 52005-06-11 Luc Teirlinck <teirllm@auburn.edu>
2 6
3 * menu-bar.el (menu-bar-make-toggle): Remove stray backslash. 7 * menu-bar.el (menu-bar-make-toggle): Remove stray backslash.
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index 9731d535447..0dee0da67f8 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -2447,7 +2447,6 @@ For a complete description, type \
2447\\<calendar-mode-map>\\[calendar-goto-info-node] from within the calendar. 2447\\<calendar-mode-map>\\[calendar-goto-info-node] from within the calendar.
2448 2448
2449\\<calendar-mode-map>\\{calendar-mode-map}" 2449\\<calendar-mode-map>\\{calendar-mode-map}"
2450
2451 (kill-all-local-variables) 2450 (kill-all-local-variables)
2452 (setq major-mode 'calendar-mode) 2451 (setq major-mode 'calendar-mode)
2453 (setq mode-name "Calendar") 2452 (setq mode-name "Calendar")
@@ -2460,7 +2459,8 @@ For a complete description, type \
2460 (make-local-variable 'displayed-month);; Month in middle of window. 2459 (make-local-variable 'displayed-month);; Month in middle of window.
2461 (make-local-variable 'displayed-year) ;; Year in middle of window. 2460 (make-local-variable 'displayed-year) ;; Year in middle of window.
2462 (set (make-local-variable 'font-lock-defaults) 2461 (set (make-local-variable 'font-lock-defaults)
2463 '(calendar-font-lock-keywords t))) 2462 '(calendar-font-lock-keywords t))
2463 (run-mode-hooks 'calendar-mode-hook))
2464 2464
2465(defun calendar-string-spread (strings char length) 2465(defun calendar-string-spread (strings char length)
2466 "Concatenate list of STRINGS separated with copies of CHAR to fill LENGTH. 2466 "Concatenate list of STRINGS separated with copies of CHAR to fill LENGTH.