Maxim Nikulin <[email protected]> writes:

> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -8765,7 +8765,9 @@ If the file does not exist, throw an error."
>  
>        (save-window-excursion
>       (message "Running %s...done" cmd)
> -     (start-process-shell-command cmd nil cmd)
> +     (make-process :name "org-open-file" :connection-type 'pipe
> +                   :buffer "*Messages*" :noquery 't
> +                   :command (list shell-file-name shell-command-switch cmd))
>       (and (boundp 'org-wait) (numberp org-wait) (sit-for org-wait))))
>       ((or (stringp cmd)
>         (eq cmd 'emacs))

Applied, reverted, and fixed with alternative approach.
Fixed.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to