Commit 2490c740 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(ido-copy-current-file-name): Repeating C-w inserts whole file name.

parent d25203fd
......@@ -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)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment