emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Ryo TAKAISHI <ryo.takaishi.0@gmail.com>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87iox06inu.fsf@gmail.com> (raw)
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")

Hello,

Ryo TAKAISHI <ryo.takaishi.0@gmail.com> 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	other threads:[~2013-10-14 14:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-14 11:42 [PATCH] fix bug: org-ascii--unique-links don't call org-element-map with correct number of arguments Ryo TAKAISHI
2013-10-14 14:17 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iox06inu.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ryo.takaishi.0@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).