aboutsummaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
authorMagdalena Szweda <hi@roughlynamed.net>2026-10-03 10:07:23 +0200
committerMagdalena Szweda <hi@roughlynamed.net>2026-10-03 10:10:56 +0200
commitcb6352a50a8f14054c5d08d4b9c0cc58009e9cad (patch)
tree341e00d05a5b2f0b9b2bdb1184ea00d0d2ecf883 /config.org
parentce5d2f97a87ae281030de893e5375d9d01410873 (diff)
vc(jj): make vc-jj included in vc-next-action
Diffstat (limited to 'config.org')
-rw-r--r--config.org6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.org b/config.org
index 95e35ab..10fa070 100644
--- a/config.org
+++ b/config.org
@@ -611,12 +611,12 @@ Here we fix it!
(my/vc-jj-bookmark-advance))
(advice-add 'vc-jj-push :before #'my/vc-jj--advance-before-push)
(setq my/vc-jj-advance-to "@-")
+
(defun my/vc-jj-checkin (files comment &optional _rev)
- "Describe @, start a fresh change, advance bookmarks, push."
+ "Describe @ and start a fresh change."
(let ((default-directory (vc-jj-root (car files))))
(vc-jj-modify-change-comment nil "@" comment)
- (vc-jj--command-dispatched nil 0 nil "new" "--quiet")
- (vc-jj-push nil)))
+ (vc-jj--command-dispatched nil 0 nil "new" "--quiet")))
(advice-add 'vc-jj-checkin :override #'my/vc-jj-checkin))
#+end_src