Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2157a2be
Commit
2157a2be
authored
Sep 24, 2009
by
Glenn Morris
Browse files
(diary-fancy-display): Always run the hook.
parent
6125167c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/calendar/diary-lib.el
lisp/calendar/diary-lib.el
+5
-2
No files found.
lisp/ChangeLog
View file @
2157a2be
2009-09-24 Glenn Morris <rgm@gnu.org>
* 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
...
...
lisp/calendar/diary-lib.el
View file @
2157a2be
...
...
@@ -1019,8 +1019,11 @@ This is an option for `diary-display-function'."
(overlay-put
(make-overlay (match-beginning 0) (match-end 0))
'face temp-face)))))))
(or (eq major-mode 'diary-fancy-display-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)
(diary-fancy-display-mode))
(calendar-set-mode-line date-string)
(message "Preparing diary...done"))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment