Commit 2157a2be authored by Glenn Morris's avatar Glenn Morris
Browse files

(diary-fancy-display): Always run the hook.

parent 6125167c
2009-09-24 Glenn Morris <>
* calendar/diary-lib.el (diary-fancy-display): Always run the hook.
* term/ns-win.el (ns-reg-to-script): Define for compiler.
* mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
......@@ -1019,8 +1019,11 @@ This is an option for `diary-display-function'."
(make-overlay (match-beginning 0) (match-end 0))
'face temp-face)))))))
(or (eq major-mode 'diary-fancy-display-mode)
;; FIXME can't remember what this check was for.
;; To prevent something looping, or a minor optimization?
(if (eq major-mode 'diary-fancy-display-mode)
(run-hooks 'diary-fancy-display-mode-hook)
(calendar-set-mode-line date-string)
(message "Preparing diary...done"))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment