aboutsummaryrefslogtreecommitdiff
path: root/config.el
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.el
parent371a956f830f2ccbb291fa996e5c684d98899b90 (diff)
vc-jj test2
Diffstat (limited to 'config.el')
-rw-r--r--config.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.el b/config.el
index d700b8e..af51006 100644
--- a/config.el
+++ b/config.el
@@ -355,7 +355,13 @@ emms-cache-file (concat doom-cache-dir "emms-cache"))
(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))
(setq org-directory "~/org/")