emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [patch, koma-letter] Change of subject behavior


From: Nicolas Goaziou
Subject: Re: [O] [patch, koma-letter] Change of subject behavior
Date: Fri, 20 Mar 2015 00:15:36 +0100

Rasmus <address@hidden> writes:

> +(defun org-koma-letter--special-tag (headline info)
> +  "Non-nil if HEADLINE is a special headline.
> +INFO is a plist holding contextual information.  Returns first
                                                        ^^^
"Return", per (info "(elisp)Documentation Tips")
                                                       
> +special tag headline."
> +  (let ((special-tags (plist-get info :special-tags)))
> +    (catch 'exit
> +      (dolist (tag (org-export-get-tags headline info))
> +     (funcall (lambda (tag) (when tag (throw 'exit tag)))
> +              (assoc-string tag special-tags))))))

This is the usual definition for (let ...), i.e., you just wrote

  (let ((tag (assoc-string tag special-tags)))
    (when tag (throw 'exit tag)))

Please just use `let', as it is much more readable.

AFAIC, you can push the patches, when the above is fixed. Thank you.


Regards,



reply via email to

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