From: Kim F. Storm Date: Wed, 7 Jun 2006 22:25:55 +0000 (+0000) Subject: (ido-copy-current-file-name): Repeating C-w inserts whole file name. X-Git-Tag: emacs-pretest-22.0.90~2028 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2490c7406c4e5aed70636ba74efd207fa7e0b3dd;p=emacs.git (ido-copy-current-file-name): Repeating C-w inserts whole file name. --- 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