1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* net/tramp.el(tramp-completion-handle-file-name-all-completions):

Ensure, that non remote files are still checked.  Oops.
This commit is contained in:
Michael Albinus 2010-04-22 06:30:16 +02:00
parent cdbce48ee4
commit 489fe4c2ea
2 changed files with 9 additions and 3 deletions

View file

@ -5719,9 +5719,10 @@ not in completion mode."
(append
result1
(condition-case nil
(when (tramp-connectable-p fullname)
(tramp-completion-run-real-handler
'file-name-all-completions (list filename directory)))
(apply (if (tramp-connectable-p fullname)
'tramp-completion-run-real-handler
'tramp-run-real-handler)
'file-name-all-completions (list (list filename directory)))
(error nil)))))
;; Method, host name and user name completion for a file.