Parcourir la source

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.
Konubinix il y a 8 ans
Parent
commit
8d672a2f7d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      contrib/lisp/org-expiry.el

+ 1 - 1
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)))