From 2490c7406c4e5aed70636ba74efd207fa7e0b3dd Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Wed, 7 Jun 2006 22:25:55 +0000 Subject: [PATCH] (ido-copy-current-file-name): Repeating C-w inserts whole file name. --- lisp/ido.el | 1 + 1 file changed, 1 insertion(+) 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." (when name (setq ido-text-init (if (or all + (eq last-command this-command) (not (equal (file-name-directory bfname) ido-current-directory)) (not (string-match "\\.[^.]*\\'" name))) name -- 2.39.2