aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2006-06-07 22:25:55 +0000
committerKim F. Storm2006-06-07 22:25:55 +0000
commit2490c7406c4e5aed70636ba74efd207fa7e0b3dd (patch)
treefb79c0ed30a65389fa78c8d873878212d508f61e
parentd25203fde671597b2047df4e4836215303322a36 (diff)
downloademacs-2490c7406c4e5aed70636ba74efd207fa7e0b3dd.tar.gz
emacs-2490c7406c4e5aed70636ba74efd207fa7e0b3dd.zip
(ido-copy-current-file-name): Repeating C-w inserts whole file name.
-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