diff options
| author | Kim F. Storm | 2006-06-07 22:25:55 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-06-07 22:25:55 +0000 |
| commit | 2490c7406c4e5aed70636ba74efd207fa7e0b3dd (patch) | |
| tree | fb79c0ed30a65389fa78c8d873878212d508f61e | |
| parent | d25203fde671597b2047df4e4836215303322a36 (diff) | |
| download | emacs-2490c7406c4e5aed70636ba74efd207fa7e0b3dd.tar.gz emacs-2490c7406c4e5aed70636ba74efd207fa7e0b3dd.zip | |
(ido-copy-current-file-name): Repeating C-w inserts whole file name.
| -rw-r--r-- | lisp/ido.el | 1 |
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." | |||
| 2898 | (when name | 2898 | (when name |
| 2899 | (setq ido-text-init | 2899 | (setq ido-text-init |
| 2900 | (if (or all | 2900 | (if (or all |
| 2901 | (eq last-command this-command) | ||
| 2901 | (not (equal (file-name-directory bfname) ido-current-directory)) | 2902 | (not (equal (file-name-directory bfname) ido-current-directory)) |
| 2902 | (not (string-match "\\.[^.]*\\'" name))) | 2903 | (not (string-match "\\.[^.]*\\'" name))) |
| 2903 | name | 2904 | name |