From: Eli Zaretskii Date: Sun, 18 Oct 2015 17:08:32 +0000 (+0300) Subject: Fix doc string of 'shell-quote-argument' X-Git-Tag: emacs-25.0.90~1092 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b03150f6ebea1a49f7061a3caf184c6e7e6490c7;p=emacs.git Fix doc string of 'shell-quote-argument' * lisp/subr.el (shell-quote-argument): Doc fix. (Bug#21702) --- diff --git a/lisp/subr.el b/lisp/subr.el index e1769074ee5..c903ee3c758 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