* [PATCH] Call `org-expiry-expired-p' correctly
@ 2016-10-04 8:46 Samuel Loury
2016-10-04 10:04 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Samuel Loury @ 2016-10-04 8:46 UTC (permalink / raw)
To: OrgMode ML
[-- Attachment #1.1: Type: text/plain, Size: 104 bytes --]
`org-expiry-expired-p' was called with one argument while the definition
of the function accepts none.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-Call-org-expiry-expired-p-correctly.patch --]
[-- Type: text/x-diff, Size: 986 bytes --]
From 4279659e16e65a8a1a1c772a1144a6564c9990f1 Mon Sep 17 00:00:00 2001
From: Konubinix <konubinix@gmail.com>
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
[-- Attachment #1.3: Type: text/plain, Size: 104 bytes --]
--
Konubinix
GPG Key : 7439106A
Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Call `org-expiry-expired-p' correctly
2016-10-04 8:46 [PATCH] Call `org-expiry-expired-p' correctly Samuel Loury
@ 2016-10-04 10:04 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2016-10-04 10:04 UTC (permalink / raw)
To: Samuel Loury; +Cc: OrgMode ML
Hello,
Samuel Loury <konubinix@gmail.com> writes:
> `org-expiry-expired-p' was called with one argument while the definition
> of the function accepts none.
Applied, with a fix to the commit message.
Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-04 10:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-04 8:46 [PATCH] Call `org-expiry-expired-p' correctly Samuel Loury
2016-10-04 10:04 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.