diff options
author | Martin Rudalics <rudalics@gmx.at> | 2011-06-06 08:57:59 +0200 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2011-06-06 08:57:59 +0200 |
commit | 1d00388aae9e39ceb8e520b5f227c21fdd219a20 (patch) | |
tree | 0fae32c463f63162d608b9038dd63fe73b9dfb59 /lisp/comint.el | |
parent | 348f5121cd84ade8ce29d557e7f1215694027b05 (diff) | |
parent | 4d09bcf621ec32e17fdb8dd2ea08344486f7aeef (diff) | |
download | emacs-old-branches/window-pub.tar.gz |
Merge from trunkold-branches/window-pub
Diffstat (limited to 'lisp/comint.el')
-rw-r--r-- | lisp/comint.el | 6 |
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." (when (comint--match-partial-filename) (unless (window-minibuffer-p (selected-window)) (message "Completing file name...")) - (apply #'completion-in-region (comint--complete-file-name-data)))) + (let ((data (comint--complete-file-name-data))) + (completion-in-region (nth 0 data) (nth 1 data) (nth 2 data))))) (defun comint-filename-completion () "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)." (defun comint-dynamic-complete-as-filename () "Dynamically complete at point as a filename. See `comint-dynamic-complete-filename'. Returns t if successful." - (apply #'completion-in-region (comint--complete-file-name-data))) + (let ((data (comint--complete-file-name-data))) + (completion-in-region (nth 0 data) (nth 1 data) (nth 2 data)))) (make-obsolete 'comint-dynamic-complete-as-filename 'comint-filename-completion "24.1") |