summaryrefslogtreecommitdiff
path: root/lisp/ido.el
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2006-06-07 22:25:55 +0000
committerKim F. Storm <storm@cua.dk>2006-06-07 22:25:55 +0000
commit2490c7406c4e5aed70636ba74efd207fa7e0b3dd (patch)
treefb79c0ed30a65389fa78c8d873878212d508f61e /lisp/ido.el
parentd25203fde671597b2047df4e4836215303322a36 (diff)
downloademacs-2490c7406c4e5aed70636ba74efd207fa7e0b3dd.tar.gz
(ido-copy-current-file-name): Repeating C-w inserts whole file name.
Diffstat (limited to 'lisp/ido.el')
-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."
(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