Disabled hunk refinement during font-lock, introduced in v27.1.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 13 Oct 2020 21:24:58 +0300
changeset 1630 8e99c0b3b772
parent 1629 e92139c96b4d
child 1631 f6eae5ebf7d9
Disabled hunk refinement during font-lock, introduced in v27.1.
.emacs-my
--- a/.emacs-my	Tue Oct 13 20:51:39 2020 +0300
+++ b/.emacs-my	Tue Oct 13 21:24:58 2020 +0300
@@ -2565,6 +2565,9 @@
 ;; (defun my-diff-auto-refine-mode-on () (diff-auto-refine-mode 1))
 ;; (add-hook 'diff-mode-hook 'my-diff-auto-refine-mode-on)
 
+;; Since 27.1 it is enabled during font-lock. Need to disable explicitly.
+(setq diff-refine nil)
+
 (when (and window-system (< emacs-major-version 26))
   (my--eval-after-load diff-mode
     (set-face-foreground 'diff-added "DarkGreen")