summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r--emacs/.emacs.d/init.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index fe2e6f5..b2ae0ea 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -144,10 +144,6 @@ MODE1 is enabled and vice-versa."
*jabber-current-status*)
"Online"))
-(defun oni:diary-display-func ()
- "Function for `diary-display-hook'."
- (diary-fancy-display))
-
(defun oni:enable (functions)
"Set the `disabled' property for each item in FUNCTIONS to nil."
(mapc #'(lambda (f) (put f 'disabled nil)) functions))
@@ -1023,7 +1019,7 @@ If no direction is given, don't split."
(add-hook 'before-save-hook 'oni:replace-html-special-chars-in-html-mode)
(add-hook 'css-mode-hook #'rainbow-mode)
-(add-hook 'diary-display-hook 'oni:diary-display-func)
+(add-hook 'diary-display-hook 'diary-fancy-display)
(add-hook 'git-commit-mode-hook #'oni:set-ispell-local-en-dict)
(add-hook 'gnus-exit-group-hook 'oni:update-mailcount)
(add-hook 'gnus-exit-gnus-hook 'oni:update-mailcount)