mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tools/magit: popup transient below magit window
And tell popup manager to ignore transient popups. Should affect #1539
This commit is contained in:
@ -31,8 +31,9 @@ It is passed a user and repository name.")
|
||||
;; screen are opened as popups.
|
||||
;; 2. The status screen isn't buried when viewing diffs or logs from the
|
||||
;; status screen.
|
||||
(setq magit-display-buffer-function #'+magit-display-buffer)
|
||||
(set-popup-rule! "^\\(?:\\*magit\\|magit:\\)" :ignore t)
|
||||
(setq transient-display-buffer-action '(display-buffer-below-selected)
|
||||
magit-display-buffer-function #'+magit-display-buffer)
|
||||
(set-popup-rule! "^\\(?:\\*magit\\|magit:\\| \\*transient\\*\\)" :ignore t)
|
||||
|
||||
;; Add --tags switch
|
||||
(transient-append-suffix 'magit-fetch
|
||||
|
Reference in New Issue
Block a user