branch: master commit e0f8fe106187ffa1f1034b7fb3b72c10f9010c6c Author: PythonNut <python...@users.noreply.github.com> Commit: PythonNut <python...@users.noreply.github.com>
Require nadvice at toplevel --- diff-hl-flydiff.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/diff-hl-flydiff.el b/diff-hl-flydiff.el index 4cd2bad..c1cfe64 100644 --- a/diff-hl-flydiff.el +++ b/diff-hl-flydiff.el @@ -26,6 +26,7 @@ ;;; Code: (require 'diff-hl) +(require 'nadvice) (defvar diff-hl-flydiff-modified-tick 0) (defvar diff-hl-flydiff-timer) @@ -177,7 +178,6 @@ This requires the external program `diff' to be in your `exec-path'." :global t (if diff-hl-flydiff-mode (progn - (require 'nadvice) (advice-add 'diff-hl-update :around #'diff-hl-flydiff/update) (advice-add 'diff-hl-changes :override #'diff-hl-flydiff/changes) (advice-add 'diff-hl-overlay-modified :override #'ignored)