From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] fix bug: org-ascii--unique-links don't call org-element-map with correct number of arguments Date: Mon, 14 Oct 2013 16:17:41 +0200 Message-ID: <87iox06inu.fsf@gmail.com> References: <1381750956-91150-1-git-send-email-ryo.takaishi.0@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVixj-0006kb-5B for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 10:17:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVixa-0006wQ-O6 for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 10:17:35 -0400 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:60016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVixa-0006wB-HG for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 10:17:26 -0400 Received: by mail-wg0-f48.google.com with SMTP id b13so6150121wgh.15 for ; Mon, 14 Oct 2013 07:17:25 -0700 (PDT) In-Reply-To: <1381750956-91150-1-git-send-email-ryo.takaishi.0@gmail.com> (Ryo TAKAISHI's message of "Mon, 14 Oct 2013 20:42:36 +0900") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ryo TAKAISHI Cc: emacs-orgmode@gnu.org Hello, Ryo TAKAISHI writes: > * lisp/ox-ascii.el: org-ascii--unique-links call org-element-map with correct number of arguments. > > --- > lisp/ox-ascii.el | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el > index e0a3fa9..7ad0ee1 100644 > --- a/lisp/ox-ascii.el > +++ b/lisp/ox-ascii.el > @@ -812,7 +812,7 @@ is a plist used as a communication channel." > (or (org-export-get-parent-headline element) element)))) > ;; Get all links in HEADLINE. > (org-element-map headline 'link > - (lambda (l) (funcall unique-link-p l)) info nil nil t))) > + (lambda (l) (funcall unique-link-p l)) info nil t))) I'm not sure to understand your patch. `org-element-map' signature is: (org-element-map DATA TYPES FUN &optional INFO FIRST-MATCH NO-RECURSION WITH-AFFILIATED) so the line you're removing seems correct. Regards, -- Nicolas Goaziou