summaryrefslogtreecommitdiff
path: root/doom/.config
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
commit3547a8d4a5028e61bef152a9afd50ab148e83bda (patch)
tree6dad5aeeadce51285bff208e8ad8e927201d78b8 /doom/.config
parentc892241af9fd84e7753fba89b240b97c6f5c1f76 (diff)
vc(jj): make vc-jj included in vc-next-action
Diffstat (limited to 'doom/.config')
-rw-r--r--doom/.config/doom/config.el6
-rw-r--r--doom/.config/doom/config.org6
2 files changed, 6 insertions, 6 deletions
diff --git a/doom/.config/doom/config.el b/doom/.config/doom/config.el
index 483b6c7..944be5d 100644
--- a/doom/.config/doom/config.el
+++ b/doom/.config/doom/config.el
@@ -327,12 +327,12 @@ emms-cache-file (concat doom-cache-dir "emms-cache"))
(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))
(setq org-directory "~/org/")
diff --git a/doom/.config/doom/config.org b/doom/.config/doom/config.org
index 95e35ab..10fa070 100644
--- a/doom/.config/doom/config.org
+++ b/doom/.config/doom/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