aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorMartin Rudalics2011-06-06 08:57:59 +0200
committerMartin Rudalics2011-06-06 08:57:59 +0200
commit1d00388aae9e39ceb8e520b5f227c21fdd219a20 (patch)
tree0fae32c463f63162d608b9038dd63fe73b9dfb59 /lisp/comint.el
parent348f5121cd84ade8ce29d557e7f1215694027b05 (diff)
parent4d09bcf621ec32e17fdb8dd2ea08344486f7aeef (diff)
downloademacs-old-branches/window-pub.tar.gz
emacs-old-branches/window-pub.zip
Merge from trunkold-branches/window-pub
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index e4bc530f361..5548d19ad30 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -3035,7 +3035,8 @@ Returns t if successful."
3035 (when (comint--match-partial-filename) 3035 (when (comint--match-partial-filename)
3036 (unless (window-minibuffer-p (selected-window)) 3036 (unless (window-minibuffer-p (selected-window))
3037 (message "Completing file name...")) 3037 (message "Completing file name..."))
3038 (apply #'completion-in-region (comint--complete-file-name-data)))) 3038 (let ((data (comint--complete-file-name-data)))
3039 (completion-in-region (nth 0 data) (nth 1 data) (nth 2 data)))))
3039 3040
3040(defun comint-filename-completion () 3041(defun comint-filename-completion ()
3041 "Return completion data for filename at point, if any." 3042 "Return completion data for filename at point, if any."
@@ -3152,7 +3153,8 @@ in the same way as TABLE completes strings of the form (concat S2 S)."
3152(defun comint-dynamic-complete-as-filename () 3153(defun comint-dynamic-complete-as-filename ()
3153 "Dynamically complete at point as a filename. 3154 "Dynamically complete at point as a filename.
3154See `comint-dynamic-complete-filename'. Returns t if successful." 3155See `comint-dynamic-complete-filename'. Returns t if successful."
3155 (apply #'completion-in-region (comint--complete-file-name-data))) 3156 (let ((data (comint--complete-file-name-data)))
3157 (completion-in-region (nth 0 data) (nth 1 data) (nth 2 data))))
3156(make-obsolete 'comint-dynamic-complete-as-filename 3158(make-obsolete 'comint-dynamic-complete-as-filename
3157 'comint-filename-completion "24.1") 3159 'comint-filename-completion "24.1")
3158 3160