aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2009-10-28 13:59:30 +0000
committerStefan Monnier2009-10-28 13:59:30 +0000
commit70f44c655cee05550fa1cfcd0aae5cf720c31447 (patch)
treee100470a1592e9513fe8935954dbde067f0da6e1 /lisp
parentb861e45ef6b53b5d3e609c47920e1c880571e96e (diff)
downloademacs-70f44c655cee05550fa1cfcd0aae5cf720c31447.tar.gz
emacs-70f44c655cee05550fa1cfcd0aae5cf720c31447.zip
(pcomplete-comint-setup): If there's a choice, replace
shell-dynamic-complete-filename in preference to comint-dynamic-complete-filename.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/pcomplete.el4
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 76abefb31ff..7c05d4406d8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
12009-10-28 Stefan Monnier <monnier@iro.umontreal.ca> 12009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
4 shell-dynamic-complete-filename in preference to
5 comint-dynamic-complete-filename.
6
3 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list) 7 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
4 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames): 8 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
5 Don't consider whether the display supports colors. 9 Don't consider whether the display supports colors.
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'."
775 (set (make-local-variable completef-sym) 775 (set (make-local-variable completef-sym)
776 (copy-sequence (symbol-value completef-sym))) 776 (copy-sequence (symbol-value completef-sym)))
777 (let* ((funs (symbol-value completef-sym)) 777 (let* ((funs (symbol-value completef-sym))
778 (elem (or (memq 'comint-dynamic-complete-filename funs) 778 (elem (or (memq 'shell-dynamic-complete-filename funs)
779 (memq 'shell-dynamic-complete-filename funs)))) 779 (memq 'comint-dynamic-complete-filename funs))))
780 (if elem 780 (if elem
781 (setcar elem 'pcomplete) 781 (setcar elem 'pcomplete)
782 (add-to-list completef-sym 'pcomplete)))) 782 (add-to-list completef-sym 'pcomplete))))