diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-04-06 13:50:46 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-04-06 13:50:46 +0200 |
commit | 196aae41c58c355822bc09e7c2c02f0a3d8eefa3 (patch) | |
tree | cd8eba5b0c09b87a053bbad7fa237e5c6213a809 | |
parent | 5a91a232f7d72b7ed16e4c6cf34d6a721b0bce86 (diff) | |
parent | 75756789597fbcae219909caad85a6d4c4b536c2 (diff) | |
download | org-mode-196aae41c58c355822bc09e7c2c02f0a3d8eefa3.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/ox-latex.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index f492ebb..c3fc83b 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -1963,8 +1963,8 @@ holding contextual information." ;; commands (like \section, etc.), and this causes compilation to fail. ;; So, within headings it's a good idea to replace any instances of \verb ;; with \texttt. - (code . (lambda (_ c _) (org-latex--protect-texttt c))) - (verbatim . (lambda (_ c _) (org-latex--protect-texttt c)))))) + (code . (lambda (o _ _) (org-latex--protect-texttt (org-element-property :value o)))) + (verbatim . (lambda (o _ _) (org-latex--protect-texttt (org-element-property :value o))))))) (text (org-export-data-with-backend (org-element-property :title headline) section-back-end info)) |