2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
+ * pcomplete.el: Require comint.
+ (pcomplete--common-suffix): Remove.
+ (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
+ (pcomplete--table-subvert): Sync with comint--table-subvert.
+ (pcomplete--entries): Use comint-completion-file-name-table.
+ * comint.el (comint-unquote-filename): Simplify.
+ (comint-completion-file-name-table): New function (bug#9616).
+ (comint--complete-file-name-data): Use it.
+
* pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
(pcmpl-gnu-tar-buffer): Remove.
(pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer