ox-koma-letter: Tiny refactor

ox-koma-letter.el (org-koma-letter--get-tagged-contents): Use
assoc-string.
This commit is contained in:
Rasmus 2015-03-19 12:10:08 +01:00
parent 6f66c57e61
commit c4d4e5e618
1 changed files with 2 additions and 2 deletions

View File

@ -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.