forked from colonelpanic/dotfiles
Disable notifications with if statement instead of comment.
This commit is contained in:
parent
da97013957
commit
25c27855bc
@ -708,13 +708,14 @@ The current directory is assumed to be the project's root otherwise."
|
||||
(setq helm-org-headings-fontify t)
|
||||
|
||||
;; 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)))
|
||||
;; (run-at-time "00:00" 60 'org-agenda-to-appt-no-message)
|
||||
(if nil
|
||||
(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)))
|
||||
(run-at-time "00:00" 60 'org-agenda-to-appt-no-message))
|
||||
|
||||
(defun org-archive-if (condition-function)
|
||||
(if (funcall condition-function)
|
||||
|
Loading…
Reference in New Issue
Block a user