summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonubinix <konubinix@gmail.com>2016-10-04 10:38:47 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-10-04 12:04:02 +0200
commit8d672a2f7d355bd2df7cc90a037bbaa64626407f (patch)
tree24bb51b3868ee18b3296317fec34cb875647cbba
parent50f2061418fbe4dac7645a7864cf7ab585e44cb8 (diff)
downloadorg-mode-8d672a2f7d355bd2df7cc90a037bbaa64626407f.tar.gz
org-expiry: Call `org-expiry-expired-p' correctly
* contrib/lisp/org-expiry.el (org-expiry-process-entry): Call `org-expiry-expired-p' with the correct number of arguments. It does not accept argument anymore.
-rw-r--r--contrib/lisp/org-expiry.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/org-expiry.el b/contrib/lisp/org-expiry.el
index 67dc89e..45f59a2 100644
--- a/contrib/lisp/org-expiry.el
+++ b/contrib/lisp/org-expiry.el
@@ -240,7 +240,7 @@ Otherwise rely on `org-expiry-confirm-flag' to decide."
(interactive "P")
(save-excursion
(when (called-interactively-p) (org-reveal))
- (when (org-expiry-expired-p 'any)
+ (when (org-expiry-expired-p)
(org-back-to-heading)
(looking-at org-complex-heading-regexp)
(let* ((ov (make-overlay (point) (match-end 0)))