aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ido.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 1bc9a4dcef7..efea9a9fbb9 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -2898,6 +2898,7 @@ If repeated, insert text from buffer instead."
2898 (when name 2898 (when name
2899 (setq ido-text-init 2899 (setq ido-text-init
2900 (if (or all 2900 (if (or all
2901 (eq last-command this-command)
2901 (not (equal (file-name-directory bfname) ido-current-directory)) 2902 (not (equal (file-name-directory bfname) ido-current-directory))
2902 (not (string-match "\\.[^.]*\\'" name))) 2903 (not (string-match "\\.[^.]*\\'" name)))
2903 name 2904 name