Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion e2wm-vcs.el
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@
(e2wm:def-plugin-vcs-with-window
'magit-get-top-dir
(lambda (dir topdir)
(magit-status (file-name-as-directory dir)))
(loop for f in '(magit-status-internal magit-status)
if (fboundp f)
return (funcall f (file-name-as-directory dir))))
(lambda () (e2wm:history-get-main-buffer))))

(e2wm:plugin-register 'magit-status
Expand Down