Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defun magit-status-only ()
- "Opens a magit status buffer, replacing the current buffer in the
- current window. If not in a git repository, prompt for creation
- of one."
- (interactive )
- (let ((display-buffer-base-action '(display-buffer-same-window)))
- (call-interactively #'magit-status)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement