From 4279659e16e65a8a1a1c772a1144a6564c9990f1 Mon Sep 17 00:00:00 2001 From: Konubinix Date: Tue, 4 Oct 2016 10:38:47 +0200 Subject: [PATCH] Call `org-expiry-expired-p' correctly * org-expiry.el: Call `org-expiry-expired-p' with the correct number of arguments. It does not accept argument anymore. --- contrib/lisp/org-expiry.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.9.3