mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-07 15:22:06 +00:00
ox-koma-letter: Tiny refactor
ox-koma-letter.el (org-koma-letter--get-tagged-contents): Use assoc-string.
This commit is contained in:
parent
6f66c57e61
commit
c4d4e5e618
@ -453,8 +453,8 @@ was not present."
|
||||
(defun org-koma-letter--get-tagged-contents (key)
|
||||
"Get contents from a headline tagged with KEY.
|
||||
The contents is stored in `org-koma-letter-special-contents'."
|
||||
(cdr (assoc (org-koma-letter--get-value key)
|
||||
org-koma-letter-special-contents)))
|
||||
(cdr (assoc-string (org-koma-letter--get-value key)
|
||||
org-koma-letter-special-contents)))
|
||||
|
||||
(defun org-koma-letter--get-value (value)
|
||||
"Turn value into a string whenever possible.
|
||||
|
Loading…
Reference in New Issue
Block a user