summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-03-27 00:04:11 -0500
committerCase Duckworth2021-03-27 00:04:11 -0500
commit66707baa84e10ec499bd912ee296907d04e783cd (patch)
treef962c4dcf4aba6355d624b77993e1593b1304e6f
parentFix indentation (diff)
downloademacs-66707baa84e10ec499bd912ee296907d04e783cd.tar.gz
emacs-66707baa84e10ec499bd912ee296907d04e783cd.zip
Incorporate idiomdrottning's magit display bit
-rw-r--r--init.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/init.el b/init.el index 23d799c..7d0c2f7 100644 --- a/init.el +++ b/init.el
@@ -372,7 +372,14 @@
372;;; Magit 372;;; Magit
373 373
374(acdw/pkg magit 374(acdw/pkg magit
375 :binds (("g" magit-status :map acdw/leader))) 375 :binds (("g" magit-status :map acdw/leader))
376 :set `((magit-display-buffer-function
377 ,(defun magit-display-buffer-same-window (buffer)
378 "Display BUFFER in the selected window like God intended."
379 (display-buffer buffer
380 '(display-buffer-same-window))))
381 (magit-popup-display-buffer-action
382 ((display-buffer-same-window)))))
376 383
377;;; Web browsing 384;;; Web browsing
378 385