From d4c472f41473618c486ae706da313f2995821e39 Mon Sep 17 00:00:00 2001 From: Magdalena Szweda Date: Sat, 3 Oct 2026 10:18:41 +0200 Subject: vc-jj test2 --- config.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config.org') 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 -- cgit v1.2.3