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.
This commit is contained in:
Konubinix 2016-10-04 10:38:47 +02:00 committed by Nicolas Goaziou
parent 50f2061418
commit 8d672a2f7d
1 changed files with 1 additions and 1 deletions

View File

@ -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)))