emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ox-odt.el: quote output file name


From: Kyle Meyer
Subject: Re: [PATCH] ox-odt.el: quote output file name
Date: Sun, 22 Nov 2020 22:28:42 -0500

Cheong Yiu Fung writes:

> Hello,
>
> Here's a patch to quote output file name following the fashion of
> input file name as used in `org-odt-convert'. It avoids conversion
> errors in the underlying shell commands.
[...]

Thanks!  Applied (2d23d55ac)...

> ---
>  lisp/ox-odt.el | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el
> index 01c0e6a90..59fe369e9 100644
> --- a/lisp/ox-odt.el
> +++ b/lisp/ox-odt.el
> @@ -4240,9 +4240,9 @@ Return output file's name."
>                          `((?i . ,(shell-quote-argument in-file))
>                            (?I . ,(browse-url-file-url in-file))
>                            (?f . ,out-fmt)
> -                          (?o . ,out-file)
> +                          (?o . ,(shell-quote-argument out-file))
>                            (?O . ,(browse-url-file-url out-file))
> -                          (?d . , (shell-quote-argument out-dir))
> +                          (?d . ,(shell-quote-argument out-dir))

...dropping this unrelated space change to the out-dir entry.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]