aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Whitton2025-09-05 15:22:31 +0100
committerSean Whitton2025-09-05 15:22:31 +0100
commit787f18010deb7f84ede432ffb66351453436ee26 (patch)
treee38319871e48662d0026eb261bff20e00af13420
parent9f7cdcb454e45929b0da6cc79d075d251178ead3 (diff)
downloademacs-787f18010deb7f84ede432ffb66351453436ee26.tar.gz
emacs-787f18010deb7f84ede432ffb66351453436ee26.zip
vc-dir-mark-unmark: When region active, don't do any y/n prompting
* lisp/vc/vc-dir.el (vc-dir-mark-unmark): When region active, bind vc-dir-allow-mass-mark-changes to nil.
-rw-r--r--lisp/vc/vc-dir.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index 4651468f1ff..18848577052 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -689,7 +689,7 @@ With prefix argument ARG, move that many lines."
689 (setq processed-line (line-number-at-pos)) 689 (setq processed-line (line-number-at-pos))
690 (condition-case nil 690 (condition-case nil
691 ;; Avoid any prompting. 691 ;; Avoid any prompting.
692 (let ((vc-dir-allow-mass-mark-changes nil)) 692 (let (vc-dir-allow-mass-mark-changes)
693 (funcall mark-unmark-function)) 693 (funcall mark-unmark-function))
694 ;; `vc-dir-mark-file' signals an error if we try marking 694 ;; `vc-dir-mark-file' signals an error if we try marking
695 ;; a directory containing marked files in its tree, or a 695 ;; a directory containing marked files in its tree, or a