# HG changeset patch # User Kim F. Storm # Date 1149719155 0 # Node ID 29fa87029ede0e14183b1a738fe2cbd1bf6ba8ba # Parent 63644e16659ae6fcb038ba6027b5b9f012ef401c (ido-copy-current-file-name): Repeating C-w inserts whole file name. diff -r 63644e16659a -r 29fa87029ede lisp/ido.el --- 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