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:
parent
d25203fde6
commit
2490c7406c
@ -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…
Reference in New Issue
Block a user