* lisp/pcomplete.el: Convert to lexical binding and fix bug#8819.
commit1c6d8c761fd19c6a277db1a183e65e16d4094421
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 17 Jun 2011 18:52:46 +0000 (17 14:52 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 17 Jun 2011 18:52:46 +0000 (17 14:52 -0400)
tree01ab00d421ae2dd30c7e08b1e779411ce264cc82
parent9ea9f8de990103dee8d59b4059a89cc6f3abb5ab
* lisp/pcomplete.el: Convert to lexical binding and fix bug#8819.
(pcomplete-suffix-list): Mark as obsolete.
(pcomplete-completions-at-point): Capture pcomplete-norm-func and
pcomplete-seen in the closure.
(pcomplete-comint-setup): Setup completion-at-point as well.
(pcomplete--entries): New function.
(pcomplete--env-regexp): New var.
(pcomplete-entries): Rewrite to work with partial-completion and
without relying on pcomplete-suffix-list.
(pcomplete-pare-list): Remove, unused.
* lisp/shell.el (shell-completion-vars): Set pcomplete-termination-string
according to comint-completion-addsuffix.
lisp/ChangeLog
lisp/pcomplete.el
lisp/shell.el