소스 검색

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 8 년 전
부모
커밋
8d672a2f7d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)))