fix(magit,org): show fringe in org-roam side window
Otherwise, the fringe (and its nice magit chevrons) aren't visible to org-roam users.
This commit is contained in:
parent
467a23c020
commit
8cbfbce394
1 changed files with 2 additions and 2 deletions
|
@ -114,12 +114,12 @@ Only has an effect in GUI Emacs.")
|
|||
;; Close transient with ESC
|
||||
(define-key transient-map [escape] #'transient-quit-one)
|
||||
|
||||
(add-hook! 'magit-mode-hook
|
||||
(add-hook! 'magit-section-mode-hook
|
||||
(add-hook! 'window-configuration-change-hook :local
|
||||
(defun +magit-enlargen-fringe-h ()
|
||||
"Make fringe larger in magit."
|
||||
(and (display-graphic-p)
|
||||
(derived-mode-p 'magit-mode)
|
||||
(derived-mode-p 'magit-section-mode)
|
||||
+magit-fringe-size
|
||||
(let ((left (or (car-safe +magit-fringe-size) +magit-fringe-size))
|
||||
(right (or (cdr-safe +magit-fringe-size) +magit-fringe-size)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue