Function: tramp-unquote-shell-quote-argument

tramp-unquote-shell-quote-argument is a byte-compiled function defined in tramp.el.gz.

Signature

(tramp-unquote-shell-quote-argument S)

Documentation

Remove quotation prefix "/:" from string S, and quote it then for shell.

Suppress shell-file-name. This is needed on w32 systems, which would use a wrong quoting for local file names. See w32-shell-name.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defun tramp-unquote-shell-quote-argument (s)
  "Remove quotation prefix \"/:\" from string S, and quote it then for shell.
Suppress `shell-file-name'.  This is needed on w32 systems, which
would use a wrong quoting for local file names.  See `w32-shell-name'."
  (let (shell-file-name)
    (shell-quote-argument (file-name-unquote s))))