Mercurial > emacs
changeset 70531:7817f391e9ff
* net/tramp.el (tramp-register-file-name-handlers): Enable Tramp
completion also when ido is loaded.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Tue, 09 May 2006 04:26:23 +0000 |
parents | 958e92b75789 |
children | eabc2170431c |
files | lisp/ChangeLog lisp/net/tramp.el |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue May 09 04:07:25 2006 +0000 +++ b/lisp/ChangeLog Tue May 09 04:26:23 2006 +0000 @@ -1,3 +1,8 @@ +2006-05-09 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-register-file-name-handlers): Enable Tramp + completion also when ido is loaded. + 2006-05-09 Masatake YAMATO <jet@gyve.org> * font-lock.el (cpp-font-lock-keywords-source-directives): Addded
--- a/lisp/net/tramp.el Tue May 09 04:07:25 2006 +0000 +++ b/lisp/net/tramp.el Tue May 09 04:26:23 2006 +0000 @@ -4331,7 +4331,7 @@ "Add tramp file name handlers to `file-name-handler-alist'." (add-to-list 'file-name-handler-alist (cons tramp-file-name-regexp 'tramp-file-name-handler)) - (when partial-completion-mode + (when (or partial-completion-mode (featurep 'ido)) (add-to-list 'file-name-handler-alist (cons tramp-completion-file-name-regexp 'tramp-completion-file-name-handler))