emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] fix bug: org-ascii--unique-links don't call org-element-


From: Nicolas Goaziou
Subject: Re: [O] [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

Hello,

Ryo TAKAISHI <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]