summaryrefslogtreecommitdiff
path: root/lisp/pcomplete.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/pcomplete.el')
-rw-r--r--lisp/pcomplete.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el
index f0296532ca9..65b48f49fa9 100644
--- a/lisp/pcomplete.el
+++ b/lisp/pcomplete.el
@@ -775,8 +775,8 @@ this is `comint-dynamic-complete-functions'."
(set (make-local-variable completef-sym)
(copy-sequence (symbol-value completef-sym)))
(let* ((funs (symbol-value completef-sym))
- (elem (or (memq 'comint-dynamic-complete-filename funs)
- (memq 'shell-dynamic-complete-filename funs))))
+ (elem (or (memq 'shell-dynamic-complete-filename funs)
+ (memq 'comint-dynamic-complete-filename funs))))
(if elem
(setcar elem 'pcomplete)
(add-to-list completef-sym 'pcomplete))))