aboutsummaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
authorMagdalena Szweda <hi@roughlynamed.net>2026-10-03 10:18:41 +0200
committerMagdalena Szweda <hi@roughlynamed.net>2026-10-03 10:19:03 +0200
commitd4c472f41473618c486ae706da313f2995821e39 (patch)
tree7ac00deb3b9ec5b701841be513a865f4007555e6 /config.org
parent371a956f830f2ccbb291fa996e5c684d98899b90 (diff)
vc-jj test2
Diffstat (limited to 'config.org')
-rw-r--r--config.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.org b/config.org
index 7c01527..1b4276d 100644
--- a/config.org
+++ b/config.org
@@ -642,7 +642,13 @@ A simple fix indeed.
(message "vc-jj: push FAILED, output below")
(let ((display-buffer-alist nil))
(pop-to-buffer buf)))))))))
+(defvar vc--inhibit-async-window)
+(defun my/vc-jj--push-no-window (orig &rest args)
+ (let ((vc--inhibit-async-window t))
+ (apply orig args)))
+
+(advice-add 'vc-jj-push :around #'my/vc-jj--push-no-window)
(advice-add 'vc-jj-push :after #'my/vc-jj--report-push))
#+end_src