diff options
| author | Juri Linkov | 2019-11-07 01:14:58 +0200 |
|---|---|---|
| committer | Juri Linkov | 2019-11-07 01:14:58 +0200 |
| commit | deb61da7a27698ddc0b95ba92d18c20f533bb802 (patch) | |
| tree | 2309fc8637f80d5ba4607f8a5527555e860248d0 /etc | |
| parent | 528485d0172f00e5f0c8ea548013a49964be501b (diff) | |
| download | emacs-deb61da7a27698ddc0b95ba92d18c20f533bb802.tar.gz emacs-deb61da7a27698ddc0b95ba92d18c20f533bb802.zip | |
* lisp/dired-aux.el (dired-vc-rename-file): New defcustom.
(dired-rename-file): Call vc-rename-file when dired-vc-rename-file is non-nil.
* lisp/vc/vc.el (vc-rename-file): Allow renaming added files.
Call vc-file-clearprops on new file too for the case when
old and new files were renamed to each other back and forth.
https://lists.gnu.org/archive/html/emacs-devel/2019-11/msg00069.html
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -846,6 +846,9 @@ directories in the destination. | |||
| 846 | *** The non-nil value of 'dired-dwim-target' uses one of the most recently | 846 | *** The non-nil value of 'dired-dwim-target' uses one of the most recently |
| 847 | visited windows with a Dired buffer instead of the next window. | 847 | visited windows with a Dired buffer instead of the next window. |
| 848 | 848 | ||
| 849 | *** When the new user option 'dired-vc-rename-file' is non-nil, | ||
| 850 | Dired performs file renaming using underlying version control system. | ||
| 851 | |||
| 849 | ** Find-Dired | 852 | ** Find-Dired |
| 850 | 853 | ||
| 851 | *** New user option 'find-dired-refine-function'. | 854 | *** New user option 'find-dired-refine-function'. |