emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 94705f83005: ; Fix last change in shell-command-to-string


From: Stefan Kangas
Subject: emacs-29 94705f83005: ; Fix last change in shell-command-to-string
Date: Sun, 17 Sep 2023 14:44:05 -0400 (EDT)

branch: emacs-29
commit 94705f830050d212f95d9fd6142ec93be17f4024
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    ; 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 <eliz@gnu.org>.
---
 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]