diff options
| author | Michael Albinus | 2018-01-25 15:29:38 +0100 |
|---|---|---|
| committer | Michael Albinus | 2018-01-25 15:29:38 +0100 |
| commit | f44b50ffc957abb0fcda9b93f1bb7e2c8e9b3b0e (patch) | |
| tree | c828e44f71b6d8354260b320af27786504a6d563 | |
| parent | 421e2fb791f6d203642c2d3d0e7e2eb1e66a0ab0 (diff) | |
| download | emacs-f44b50ffc957abb0fcda9b93f1bb7e2c8e9b3b0e.tar.gz emacs-f44b50ffc957abb0fcda9b93f1bb7e2c8e9b3b0e.zip | |
* lisp/simple.el (shell-command-to-string):
Call `shell-command' in order to respect file name handlers.
| -rw-r--r-- | lisp/simple.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 3844 | (with-output-to-string | 3844 | (with-output-to-string |
| 3845 | (with-current-buffer | 3845 | (with-current-buffer |
| 3846 | standard-output | 3846 | standard-output |
| 3847 | (process-file shell-file-name nil t nil shell-command-switch command)))) | 3847 | (shell-command command t)))) |
| 3848 | 3848 | ||
| 3849 | (defun process-file (program &optional infile buffer display &rest args) | 3849 | (defun process-file (program &optional infile buffer display &rest args) |
| 3850 | "Process files synchronously in a separate process. | 3850 | "Process files synchronously in a separate process. |