From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Loury Subject: [PATCH] Call `org-expiry-expired-p' correctly Date: Tue, 04 Oct 2016 10:46:18 +0200 Message-ID: <871szwzelh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brLMr-0003YK-7q for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 04:46:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brLMn-00043O-8h for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 04:46:29 -0400 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:37324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brLMn-00042O-1k for emacs-orgmode@gnu.org; Tue, 04 Oct 2016 04:46:25 -0400 Received: by mail-wm0-x22b.google.com with SMTP id b201so130243171wmb.0 for ; Tue, 04 Oct 2016 01:46:24 -0700 (PDT) Received: from localhost (162.48.7.109.rev.sfr.net. [109.7.48.162]) by smtp.gmail.com with ESMTPSA id t9sm11153804wmf.24.2016.10.04.01.46.22 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Oct 2016 01:46:22 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: OrgMode ML --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain `org-expiry-expired-p' was called with one argument while the definition of the function accepts none. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Call-org-expiry-expired-p-correctly.patch Content-Transfer-Encoding: quoted-printable From=204279659e16e65a8a1a1c772a1144a6564c9990f1 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. =2D-- 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 =2D-- 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)) =2D (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))) =2D-=20 2.9.3 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Konubinix GPG Key : 7439106A Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJX82xaAAoJEHXSPO10ORBqD1sH/RzcZnBm3kWx8VYwzgDHgZFI hWxmJPrivg9YzCqD0QgPYrbtA4lKGclyYgae080TQ7iRragq8o7vNw3tCsun14CZ oXslKC6SfpfCQBjdMdhLSGYm1oBS4cnsy8c7CaFSzPwsql0BJWu7x95Uy8OyMFSL MV4lR7NlF8w/hCAL6ZWLs2Cvzik0dJN7OP+QzjAiNwYx8iwakpaGrZutqkUyYOtR zH/08cCxBli9/dD85pOItdzStcB/20oadMzZEo/oUIYqqvC24yl46/WWvC/3k39G beaus+z+mznYhnHDSoLxrvZOcAHrvY+BSQe5TNvnd7z3xaa3NFe7SWwVIMSlO7E= =Qxsx -----END PGP SIGNATURE----- --==-=-=--