From fe263b8f57f4f55e17a4a39f36e52f585e0cba70 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 9 May 2012 13:20:24 -0400 Subject: * lisp/shell.el (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list inside double-quoted args as well. Fixes: debbugs:11348 --- lisp/shell.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lisp/shell.el') diff --git a/lisp/shell.el b/lisp/shell.el index f7a530102ff..1784188f6ad 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -400,8 +400,9 @@ Thus, this does not include the shell's current directory.") (t (match-string 3))) arg)) ((match-beginning 2) ;Double quote. - (push (replace-regexp-in-string - "\\\\\\(.\\)" "\\1" (match-string 2)) + (push (if (null pcomplete-arg-quote-list) (match-string 2) + (replace-regexp-in-string + "\\\\\\(.\\)" "\\1" (match-string 2))) arg)) ((match-beginning 1) ;Single quote. (push (match-string 1) arg)) -- cgit v1.2.3