summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-01-11 12:20:52 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-01-11 12:20:52 +0100
commit9f96208eec2964121c1b5f5d4b23e1bee8cede3a (patch)
treeb23d14abd400315b6c3edf666ef13f53af323e34
parent235d3c5e45716eb4ff23d3790ff0676d8ac4f335 (diff)
parent3fa7903d76cdf8e7656b085e70d3c6f1d60396d0 (diff)
downloadorg-mode-9f96208eec2964121c1b5f5d4b23e1bee8cede3a.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/ox-latex.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 8b6749d..5dfbd7a 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -2011,8 +2011,7 @@ See `org-latex-format-headline-function' for details."
text
(and tags
(format "\\hfill{}\\textsc{%s}"
- (mapconcat (lambda (tag) (org-latex-plain-text tag info))
- tags ":")))))
+ (mapconcat #'org-latex--protect-text tags ":")))))
;;;; Horizontal Rule
@@ -2094,7 +2093,7 @@ holding contextual information."
todo todo-type priority title tags contents info)))
(defun org-latex-format-inlinetask-default-function
- (todo _todo-type priority title tags contents info)
+ (todo _todo-type priority title tags contents info)
"Default format function for a inlinetasks.
See `org-latex-format-inlinetask-function' for details."
(let ((full-title
@@ -2103,9 +2102,7 @@ See `org-latex-format-inlinetask-function' for details."
title
(when tags
(format "\\hfill{}\\textsc{:%s:}"
- (mapconcat
- (lambda (tag) (org-latex-plain-text tag info))
- tags ":"))))))
+ (mapconcat #'org-latex--protect-text tags ":"))))))
(concat "\\begin{center}\n"
"\\fbox{\n"
"\\begin{minipage}[c]{.6\\textwidth}\n"