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
1 changed files with 1 additions and 1 deletions

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)))