]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/simple.el (shell-command-to-string):
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 25 Jan 2018 14:29:38 +0000 (15:29 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 25 Jan 2018 14:29:38 +0000 (15:29 +0100)
Call `shell-command' in order to respect file name handlers.

lisp/simple.el

index e51bc132a6b93510a422b62008b246751ac14695..44f738f07e69196cfff270fd0c38ddb3ed11bbaf 100644 (file)
@@ -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.