0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 19:37:52 +00:00

ox-texinfo: Allow quotes around value in TEXINFO_FILENAME keyword

* lisp/ox-texinfo.el (org-texinfo-template): Allow quotes around value
  in TEXINFO_FILENAME keyword.

This is consistent with usual Org behavior: file names can optionally
be enclosed within quotes.
This commit is contained in:
Nicolas Goaziou 2018-11-10 09:00:45 +01:00
parent f5c2659bb8
commit 88ef9f26de

View file

@ -576,7 +576,7 @@ holding export options."
(concat
"\\input texinfo @c -*- texinfo -*-\n"
"@c %**start of header\n"
(let ((file (or (plist-get info :texinfo-filename)
(let ((file (or (org-strip-quotes (plist-get info :texinfo-filename))
(let ((f (plist-get info :output-file)))
(and f (concat (file-name-sans-extension f) ".info"))))))
(and file (format "@setfilename %s\n" file)))