tools/magit: hide modeline in magit-popups

Since magit-gitflow still uses the old magit-popups, rather than
transient.
This commit is contained in:
Henrik Lissner 2019-10-25 02:30:58 -04:00
parent 3a7f84cfe2
commit 54559d567a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -48,6 +48,7 @@ It is passed a user and repository name.")
(setq transient-display-buffer-action '(display-buffer-below-selected)
magit-display-buffer-function #'+magit-display-buffer-fn)
(set-popup-rule! "^\\(?:\\*magit\\|magit:\\| \\*transient\\*\\)" :ignore t)
(add-hook 'magit-popup-mode-hook #'hide-mode-line-mode)
;; Add --tags switch
(transient-append-suffix 'magit-fetch "-p"