changeset 71271:29fa87029ede

(ido-copy-current-file-name): Repeating C-w inserts whole file name.
author Kim F. Storm <storm@cua.dk>
date Wed, 07 Jun 2006 22:25:55 +0000
parents 63644e16659a
children 9abacc183f3b
files lisp/ido.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ido.el	Wed Jun 07 22:25:42 2006 +0000
+++ b/lisp/ido.el	Wed Jun 07 22:25:55 2006 +0000
@@ -2898,6 +2898,7 @@
     (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