From: Stefan Kangas Date: Sun, 17 Sep 2023 18:39:11 +0000 (+0200) Subject: ; Fix last change in shell-command-to-string X-Git-Tag: emacs-29.1.90~70 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=94705f830050d212f95d9fd6142ec93be17f4024;p=emacs.git ; Fix last change in shell-command-to-string * lisp/simple.el (shell-command-to-string): Fix typo and improve wording. Problem reported by Eli Zaretskii . --- diff --git a/lisp/simple.el b/lisp/simple.el index 12d760a198f..8ab4660566d 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -5066,9 +5066,10 @@ COMMAND before passing it as an argument to this function. Use this function only when a shell interpreter is needed. In other cases, consider alternatives such as `call-process' or -`process-lines', which do not invoke the shell. Prefer built-in -functions like `mv' to the external command \"mv\". For more -information, see Info node ‘(elisp)Security Considerations’." +`process-lines', which do not invoke the shell. Consider using +built-in functions like `rename-file' instead of the external +command \"mv\". For more information, see Info node +‘(elisp)Security Considerations’." (with-output-to-string (with-current-buffer standard-output (shell-command command t))))