[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master f44b50f: * lisp/simple.el (shell-command-to-string)
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] master f44b50f: * lisp/simple.el (shell-command-to-string): |
Date: |
Thu, 25 Jan 2018 09:29:47 -0500 (EST) |
branch: master
commit f44b50ffc957abb0fcda9b93f1bb7e2c8e9b3b0e
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
* 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 e51bc13..44f738f 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master f44b50f: * lisp/simple.el (shell-command-to-string):,
Michael Albinus <=