Commit 208384c5 authored by Chong Yidong's avatar Chong Yidong
Browse files

* pcomplete.el (pcomplete-comint-setup): Check for

shell-dynamic-complete-filename too.
parent 332eb5f1
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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment