mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-07-05 16:37:39 -04:00
diff-mode: Continue to extend faces to edge of window
Due to a breaking change we have to request this explicitly in Emacs 27. Earlier Emacs versions do the right thing by default. See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37774.
This commit is contained in:
parent
d777e2b31f
commit
b0e7499009
8
init.el
8
init.el
@ -74,6 +74,14 @@
|
||||
(global-diff-hl-mode)
|
||||
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh t))
|
||||
|
||||
(use-package diff-mode
|
||||
:defer t
|
||||
:config
|
||||
(when (>= emacs-major-version 27)
|
||||
(set-face-attribute 'diff-refine-changed nil :extend t)
|
||||
(set-face-attribute 'diff-refine-removed nil :extend t)
|
||||
(set-face-attribute 'diff-refine-added nil :extend t)))
|
||||
|
||||
(use-package dired
|
||||
:defer t
|
||||
:config (setq dired-listing-switches "-alh"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user