[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,
- [O] [patch, koma-letter] Change of subject behavior, Rasmus, 2015/03/17
- Re: [O] [patch, koma-letter] Change of subject behavior, Nicolas Goaziou, 2015/03/17
- Re: [O] [patch, koma-letter] Change of subject behavior, Rasmus, 2015/03/17
- Re: [O] [patch, koma-letter] Change of subject behavior, Nicolas Goaziou, 2015/03/17
- Re: [O] [patch, koma-letter] Change of subject behavior, Rasmus, 2015/03/17
- Re: [O] [patch, koma-letter] Change of subject behavior, Nicolas Goaziou, 2015/03/18
- Re: [O] [patch, koma-letter] Change of subject behavior, Rasmus, 2015/03/18
- Re: [O] [patch, koma-letter] Change of subject behavior, Nicolas Goaziou, 2015/03/18
- Re: [O] [patch, koma-letter] Change of subject behavior, Rasmus, 2015/03/19
- Re: [O] [patch, koma-letter] Change of subject behavior,
Nicolas Goaziou <=
- Re: [O] [patch, koma-letter] Change of subject behavior, Rasmus, 2015/03/20