diff options
| author | Juri Linkov | 2020-06-24 02:59:31 +0300 |
|---|---|---|
| committer | Juri Linkov | 2020-06-24 02:59:31 +0300 |
| commit | bfd96e995dae796fd3f68301fcc4921fb4c42745 (patch) | |
| tree | 54e6b155fcf79fdc9158440344ea3f9164f2bcea /etc | |
| parent | 4e04ca847fc04ad0b2845143e0788485de0ed997 (diff) | |
| download | emacs-bfd96e995dae796fd3f68301fcc4921fb4c42745.tar.gz emacs-bfd96e995dae796fd3f68301fcc4921fb4c42745.zip | |
M-n in read-directory-name of vc commands gets project dirs (bug#41821)
* lisp/progmodes/project.el (project-known-roots): New autoloaded function.
* lisp/vc/vc-hooks.el (vc-known-roots): New function.
* lisp/vc/vc.el (vc-root-diff, vc-print-root-log):
* lisp/vc/vc-dir.el (vc-dir): Use 'vc-known-roots' for default
values for read-directory-name.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -176,6 +176,9 @@ directories with the help of new command 'dired-vc-next-action'. | |||
| 176 | *** More vc commands that don't change VC state can be used from non-file buffers. | 176 | *** More vc commands that don't change VC state can be used from non-file buffers. |
| 177 | Such non-file buffers should have default-directory under vc. | 177 | Such non-file buffers should have default-directory under vc. |
| 178 | 178 | ||
| 179 | *** Typing 'M-n' in the minibuffer that asks for a vc directory in vc commands | ||
| 180 | can retrieve directories of previously used vc projects. | ||
| 181 | |||
| 179 | *** New command 'vc-dir-root' uses the root directory without asking. | 182 | *** New command 'vc-dir-root' uses the root directory without asking. |
| 180 | 183 | ||
| 181 | *** New commands 'vc-dir-mark-registered-files' (bound to '* r') and | 184 | *** New commands 'vc-dir-mark-registered-files' (bound to '* r') and |