Allow launching magit-status-no-new-window
as initial command
..or just before magit. If it's in the `:config`, the command won't exist until magit is loaded.
This commit is contained in:
parent
faf8bb7e9f
commit
1b49c700c8
@ -475,7 +475,7 @@
|
||||
:bind (("C-x g" . magit-status)
|
||||
(:map magit-status-mode-map (("i" . magit-gitignore-in-topdir)
|
||||
("I" . magit-gitignore-in-gitdir))))
|
||||
:config
|
||||
:init
|
||||
(defun magit-status-no-new-window (directory)
|
||||
(interactive "D")
|
||||
(progn (let ((magit-display-buffer-function
|
||||
|
Loading…
Reference in New Issue
Block a user