diff options
| author | Sean Whitton | 2025-09-30 16:12:14 +0100 |
|---|---|---|
| committer | Sean Whitton | 2025-09-30 16:12:14 +0100 |
| commit | 6ef6b517aa990acec249d63a6ee5381723616cdd (patch) | |
| tree | 1ddb802e83f7bd6348dd9213e84114079d0645d3 /java/debug.sh | |
| parent | ca704a67dc7d0601d15fe96b76c9e59f4f87b7fb (diff) | |
| download | emacs-6ef6b517aa990acec249d63a6ee5381723616cdd.tar.gz emacs-6ef6b517aa990acec249d63a6ee5381723616cdd.zip | |
VC: Allow deleting or moving current working tree
* lisp/progmodes/project.el (project-prompter)
(project-prompt-project-dir, project-prompt-project-name):
* lisp/vc/vc.el (vc--prompt-other-working-tree): New ALLOW-EMPTY
optional argument.
(delete-working-tree, move-working-tree): Specify that callers
must ensure DIRECTORY is not the current working tree.
(vc-delete-working-tree, vc-move-working-tree): Pass ALLOW-EMPTY
non-nil to vc--prompt-other-working-tree. Bind
'default-directory' to another working tree when operating on
the current working tree.
(vc-delete-working-tree): Extra prompt when asked to delete the
current working tree. When deleting the current working tree,
call 'bury-buffer' one or more times at the end.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions