(ido-copy-current-file-name): Repeating C-w inserts whole file name.
This commit is contained in:
parent
d25203fde6
commit
2490c7406c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue