From 147a24fb615ae43bdc2caa265dce836b511f5aaa Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 16 Aug 2015 16:10:29 -0700 Subject: [PATCH] Fix disable of appointment notifications --- dotfiles/emacs.d/init.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index c31560e7..0cdcbff1 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -744,11 +744,11 @@ The current directory is assumed to be the project's root otherwise." (setq org-columns-default-format "%80ITEM(Task) %10Effort(Effort){:} %10CLOCKSUM") (setq helm-org-headings-fontify t) - ;; Enable appointment notifications. - (if nil - (defadvice org-agenda-to-appt (before wickedcool activate) - "Clear the appt-time-msg-list." - (setq appt-time-msg-list nil)) + (when nil + ;; Enable appointment notifications. + (defadvice org-agenda-to-appt (before wickedcool activate) + "Clear the appt-time-msg-list." + (setq appt-time-msg-list nil)) (appt-activate) (defun org-agenda-to-appt-no-message () (suppress-messages (org-agenda-to-appt)))