From: Michael Albinus Date: Thu, 25 Jan 2018 14:29:38 +0000 (+0100) Subject: * lisp/simple.el (shell-command-to-string): X-Git-Tag: emacs-27.0.90~5810 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f44b50ffc957abb0fcda9b93f1bb7e2c8e9b3b0e;p=emacs.git * lisp/simple.el (shell-command-to-string): Call `shell-command' in order to respect file name handlers. --- diff --git a/lisp/simple.el b/lisp/simple.el index e51bc132a6b..44f738f07e6 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3844,7 +3844,7 @@ interactively, this is t." (with-output-to-string (with-current-buffer standard-output - (process-file shell-file-name nil t nil shell-command-switch command)))) + (shell-command command t)))) (defun process-file (program &optional infile buffer display &rest args) "Process files synchronously in a separate process.