tools/magit: popup transient below magit window

And tell popup manager to ignore transient popups.

Should affect #1539
This commit is contained in:
Henrik Lissner 2019-07-10 19:29:23 +02:00
parent eee147f6f3
commit 2c140496e8
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -31,8 +31,9 @@ It is passed a user and repository name.")
;; screen are opened as popups. ;; screen are opened as popups.
;; 2. The status screen isn't buried when viewing diffs or logs from the ;; 2. The status screen isn't buried when viewing diffs or logs from the
;; status screen. ;; status screen.
(setq magit-display-buffer-function #'+magit-display-buffer) (setq transient-display-buffer-action '(display-buffer-below-selected)
(set-popup-rule! "^\\(?:\\*magit\\|magit:\\)" :ignore t) magit-display-buffer-function #'+magit-display-buffer)
(set-popup-rule! "^\\(?:\\*magit\\|magit:\\| \\*transient\\*\\)" :ignore t)
;; Add --tags switch ;; Add --tags switch
(transient-append-suffix 'magit-fetch (transient-append-suffix 'magit-fetch