diff options
-rw-r--r-- | init.el | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/init.el b/init.el index d62798c..8edb672 100644 --- a/init.el +++ b/init.el | |||
@@ -486,11 +486,14 @@ | |||
486 | 486 | ||
487 | (setup (:straight magit) | 487 | (setup (:straight magit) |
488 | (:leader "g" magit-status) | 488 | (:leader "g" magit-status) |
489 | (:option magit-display-buffer-function | 489 | |
490 | (defun magit-display-buffer-same-window (buffer) | 490 | (defun magit-display-buffer-same-window (buffer) |
491 | "Display BUFFER in the selected window like God intended." | 491 | "Display BUFFER in the selected window like God intended." |
492 | (display-buffer buffer '(display-buffer-same-window))) | 492 | (display-buffer buffer '(display-buffer-same-window))) |
493 | magit-popup-display-buffer-action '((display-buffer-same-window)))) | 493 | |
494 | (:option magit-display-buffer-function #'magit-display-buffer-same-window | ||
495 | magit-popup-display-buffer-action '((display-buffer-same-window)) | ||
496 | magit-refresh-status-buffer nil)) | ||
494 | 497 | ||
495 | (setup (:straight nov) | 498 | (setup (:straight nov) |
496 | (:option nov-text-width fill-column) | 499 | (:option nov-text-width fill-column) |