mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
* pcomplete.el (pcomplete-comint-setup): Check for
shell-dynamic-complete-filename too.
This commit is contained in:
parent
332eb5f1a9
commit
208384c5cf
2 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
|
||||
|
||||
* pcomplete.el (pcomplete-comint-setup): Check for
|
||||
shell-dynamic-complete-filename too.
|
||||
|
||||
2009-07-11 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* simple.el (temporary-goal-column): Change the value for
|
||||
|
|
|
|||
|
|
@ -590,8 +590,9 @@ this is `comint-dynamic-complete-functions'."
|
|||
(set (make-local-variable 'pcomplete-parse-arguments-function)
|
||||
'pcomplete-parse-comint-arguments)
|
||||
(make-local-variable completef-sym)
|
||||
(let ((elem (memq 'comint-dynamic-complete-filename
|
||||
(symbol-value completef-sym))))
|
||||
(let* ((funs (symbol-value completef-sym))
|
||||
(elem (or (memq 'comint-dynamic-complete-filename funs)
|
||||
(memq 'shell-dynamic-complete-filename funs))))
|
||||
(if elem
|
||||
(setcar elem 'pcomplete)
|
||||
(add-to-list completef-sym 'pcomplete))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue