emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master b03150f: Fix doc string of 'shell-quote-argument'


From: Eli Zaretskii
Subject: [Emacs-diffs] master b03150f: Fix doc string of 'shell-quote-argument'
Date: Sun, 18 Oct 2015 17:09:15 +0000

branch: master
commit b03150f6ebea1a49f7061a3caf184c6e7e6490c7
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix doc string of 'shell-quote-argument'
    
    * lisp/subr.el (shell-quote-argument): Doc fix.  (Bug#21702)
---
 lisp/subr.el |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/lisp/subr.el b/lisp/subr.el
index e176907..c903ee3 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2711,7 +2711,10 @@ Note: :data and :device are currently not supported on 
Windows."
 (declare-function w32-shell-dos-semantics "w32-fns" nil)
 
 (defun shell-quote-argument (argument)
-  "Quote ARGUMENT for passing as argument to an inferior shell."
+  "Quote ARGUMENT for passing as argument to an inferior shell.
+
+This function is designed to work with the syntax of your system's
+standard shell, and might produce incorrect results with unusual shells."
   (cond
    ((eq system-type 'ms-dos)
     ;; Quote using double quotes, but escape any existing quotes in



reply via email to

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