mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-20 16:11:07 -05:00
magit: integrate with shackle and isolate to popups (experimental)
This commit is contained in:
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
|
Reference in New Issue
Block a user