From f44b50ffc957abb0fcda9b93f1bb7e2c8e9b3b0e Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 25 Jan 2018 15:29:38 +0100 Subject: [PATCH] * lisp/simple.el (shell-command-to-string): Call `shell-command' in order to respect file name handlers. --- lisp/simple.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5