diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-11-19 14:22:07 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-11-19 14:22:07 -0500 |
commit | 93b050412adab7512b7ebc77077fdbbe72730114 (patch) | |
tree | 94119c77c5403f12b096db6529b0bb2dc5fce2a4 /lisp/pcomplete.el | |
parent | 88c4a13c3b573e0fa844c88ab89765ef308c267e (diff) | |
download | emacs-93b050412adab7512b7ebc77077fdbbe72730114.tar.gz emacs-93b050412adab7512b7ebc77077fdbbe72730114.tar.bz2 emacs-93b050412adab7512b7ebc77077fdbbe72730114.zip |
* lisp/eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
Fallback on completion-at-point rather than
pcomplete-expand-and-complete, and only if pcomplete actually failed.
(eshell-cmpl-initialize): Setup completion-at-point.
* lisp/pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
Diffstat (limited to 'lisp/pcomplete.el')
-rw-r--r-- | lisp/pcomplete.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el index 9e55976a8bd..13cf7356e7f 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el @@ -833,7 +833,8 @@ this is `comint-dynamic-complete-functions'." . ,(lambda (comps) (sort comps pcomplete-compare-entry-function))) ,@(cdr (completion-file-name-table s p a))) - (let ((completion-ignored-extensions nil)) + (let ((completion-ignored-extensions nil) + (completion-ignore-case pcomplete-ignore-case)) (completion-table-with-predicate #'comint-completion-file-name-table pred 'strict s p a)))))) |