magit: integrate with shackle and isolate to popups (experimental)

This commit is contained in:
Henrik Lissner 2017-01-03 23:04:08 -05:00
parent a2fa66ea37
commit b72ca79356
2 changed files with 24 additions and 2 deletions

View file

@ -0,0 +1,13 @@
;;; defuns-magit.el
;;;###autoload
(defun doom/magit-pop-to-buffer (buffer)
"Pop to buffer in non-magit buffer."
(let (pt)
(doom/popup-save
(pop-to-buffer buffer)
(setq pt (point)))
(goto-char pt)))
(provide 'defuns-magit)
;;; defuns-magit.el ends here