tools/magit: popup transient below magit window
And tell popup manager to ignore transient popups. Should affect #1539
This commit is contained in:
parent
eee147f6f3
commit
2c140496e8
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue