* lisp/ox-latex.el (org-latex-inline-src-block): Fix
  b8ade2e79e.
This commit is contained in:
Nicolas Goaziou 2015-06-07 15:17:52 +02:00
parent b8ade2e79e
commit c532ff36aa

View file

@ -1728,7 +1728,8 @@ CONTENTS is nil. INFO is a plist holding contextual information."
"Transcode an INLINE-SRC-BLOCK element from Org to LaTeX.
CONTENTS holds the contents of the item. INFO is a plist holding
contextual information."
(let* ((code (org-element-property :value inline-src-block)))
(let* ((code (org-element-property :value inline-src-block))
(separator (org-latex--find-verb-separator code)))
(case (plist-get info :latex-listings)
;; Do not use a special package: transcode it verbatim.
((nil) (format "\\texttt{%s}" (org-latex--protect-text code)))