1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

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

This commit is contained in:
Kim F. Storm 2006-06-07 22:25:55 +00:00
parent d25203fde6
commit 2490c7406c

View File

@ -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