From eeb19169db1e0b3223abfe0e9ed3e76ddcbaa21a Mon Sep 17 00:00:00 2001 From: Vitalie Spinu Date: Tue, 19 Nov 2013 18:52:35 -0800 Subject: [PATCH 1/1] make ido-make-dir-list-1 show known host ido-final-slash checks for tramp directory and acts accordingly, but it never gets the full directory name when it is called from ido-make-dir-list-1. --- lisp/ido.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ido.el b/lisp/ido.el index 42b3607..f6104a6 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -3676,7 +3676,8 @@ If MERGED is non-nil, each subdir is cons'ed with DIR." (delq nil (mapcar (lambda (name) - (and (ido-final-slash name) (not (ido-ignore-item-p name ido-ignore-directories)) + (and (ido-final-slash (concat dir name)) + (not (ido-ignore-item-p name ido-ignore-directories)) (if merged (cons name dir) name))) (ido-file-name-all-completions dir))))) -- 1.8.1.2