[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master e0f8fe1 23/42: Require nadvice at toplevel

From: Dmitry Gutov
Subject: [elpa] master e0f8fe1 23/42: Require nadvice at toplevel
Date: Wed, 09 Sep 2015 19:03:37 +0000

branch: master
commit e0f8fe106187ffa1f1034b7fb3b72c10f9010c6c
Author: PythonNut <address@hidden>
Commit: PythonNut <address@hidden>

    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 
   :global t
   (if diff-hl-flydiff-mode
-      (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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]