diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-08-30 14:30:30 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-08-30 14:30:30 +0200 |
commit | 213c011505c118b5e4b97195f27b3ef4987209af (patch) | |
tree | e137db7e6f85f3f13484b4ee5f78a0942e2225fc | |
parent | d1ff75f33555070c0710b3f17329ce3aae7cc59c (diff) | |
download | org-mode-213c011505c118b5e4b97195f27b3ef4987209af.tar.gz |
org-agenda: Tiny clean-up
* lisp/org-agenda.el (org-agenda-to-appt): Remove obsolete code.
-rw-r--r-- | lisp/org-agenda.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index c9b19a4..cf9b321 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -10187,9 +10187,7 @@ to override `appt-message-warning-time'." "\\([0-9]\\{1,2\\}\\)\\([0-9]\\{2\\}\\)\\'" tod) (concat (match-string 1 tod) ":" (match-string 2 tod)))) - (when (if (version< emacs-version "23.3") - (appt-add tod evt) - (appt-add tod evt wrn)) + (when (appt-add tod evt wrn) (setq cnt (1+ cnt)))))) entries) (org-release-buffers org-agenda-new-buffers) |