From 94705f830050d212f95d9fd6142ec93be17f4024 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 17 Sep 2023 20:39:11 +0200 Subject: [PATCH] ; 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 . --- lisp/simple.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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)))) -- 2.39.2