aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2012-05-09 13:20:24 -0400
committerStefan Monnier2012-05-09 13:20:24 -0400
commitfe263b8f57f4f55e17a4a39f36e52f585e0cba70 (patch)
tree185d736e53500307621b1badcb69e6317f3be2a3
parent0a454caf059b4cc050984a41decc2344cd9a083f (diff)
downloademacs-fe263b8f57f4f55e17a4a39f36e52f585e0cba70.tar.gz
emacs-fe263b8f57f4f55e17a4a39f36e52f585e0cba70.zip
* lisp/shell.el (shell-parse-pcomplete-arguments):
Obey pcomplete-arg-quote-list inside double-quoted args as well. Fixes: debbugs:11348
-rw-r--r--lisp/ChangeLog17
-rw-r--r--lisp/shell.el5
2 files changed, 14 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ec29758fd51..d72e098579c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * shell.el (shell-parse-pcomplete-arguments): Obey
4 pcomplete-arg-quote-list inside double-quoted args as well (bug#11348).
5
12012-05-08 Stefan Monnier <monnier@iro.umontreal.ca> 62012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * shell.el (shell-completion-vars): Fix last change (bug#11348). 8 * shell.el (shell-completion-vars): Fix last change (bug#11348).
@@ -48,8 +53,8 @@
48 53
492012-04-30 Martin Rudalics <rudalics@gmx.at> 542012-04-30 Martin Rudalics <rudalics@gmx.at>
50 55
51 * window.el (display-buffer--action-function-custom-type): Fix 56 * window.el (display-buffer--action-function-custom-type):
52 entry. 57 Fix entry.
53 58
542012-04-27 Alan Mackenzie <acm@muc.de> 592012-04-27 Alan Mackenzie <acm@muc.de>
55 60
@@ -152,8 +157,8 @@
152 157
1532012-04-19 Chong Yidong <cyd@gnu.org> 1582012-04-19 Chong Yidong <cyd@gnu.org>
154 159
155 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New 160 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
156 function to call delete-process on the gdb-inferior buffer's pty. 161 New function to call delete-process on the gdb-inferior buffer's pty.
157 (gdb-reset): Use it, instead of relying on kill-buffer to kill the 162 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
158 pty process (Bug#11273). 163 pty process (Bug#11273).
159 (gdb-update): New arg to suppress talking to the gdb process. 164 (gdb-update): New arg to suppress talking to the gdb process.
@@ -186,8 +191,8 @@
186 (c-comment-indent, c-scan-conditionals, c-indent-defun) 191 (c-comment-indent, c-scan-conditionals, c-indent-defun)
187 (c-context-line-break): bind case-fold-search to nil. 192 (c-context-line-break): bind case-fold-search to nil.
188 193
189 * progmodes/cc-mode.el (c-font-lock-fontify-region): bind 194 * progmodes/cc-mode.el (c-font-lock-fontify-region):
190 case-fold-search to nil. 195 bind case-fold-search to nil.
191 196
1922012-04-16 Chong Yidong <cyd@gnu.org> 1972012-04-16 Chong Yidong <cyd@gnu.org>
193 198
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.")
400 (t (match-string 3))) 400 (t (match-string 3)))
401 arg)) 401 arg))
402 ((match-beginning 2) ;Double quote. 402 ((match-beginning 2) ;Double quote.
403 (push (replace-regexp-in-string 403 (push (if (null pcomplete-arg-quote-list) (match-string 2)
404 "\\\\\\(.\\)" "\\1" (match-string 2)) 404 (replace-regexp-in-string
405 "\\\\\\(.\\)" "\\1" (match-string 2)))
405 arg)) 406 arg))
406 ((match-beginning 1) ;Single quote. 407 ((match-beginning 1) ;Single quote.
407 (push (match-string 1) arg)) 408 (push (match-string 1) arg))