magit: integrate with shackle and isolate to popups (experimental)
This commit is contained in:
parent
a2fa66ea37
commit
b72ca79356
2 changed files with 24 additions and 2 deletions
13
core/defuns/defuns-magit.el
Normal file
13
core/defuns/defuns-magit.el
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue