[Top][All Lists]

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

[elpa] scratch/add-vdiff 23b3360 030/258: Fix compiler warnings

From: Justin Burkett
Subject: [elpa] scratch/add-vdiff 23b3360 030/258: Fix compiler warnings
Date: Wed, 17 May 2017 08:13:17 -0400 (EDT)

branch: scratch/add-vdiff
commit 23b3360a4120cc667491b070ca03f3bf4ee92ec3
Author: justbur <address@hidden>
Commit: justbur <address@hidden>

    Fix compiler warnings
 vdiff.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/vdiff.el b/vdiff.el
index 857348b..2f55b2a 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -748,7 +748,7 @@ folds in the region."
          (reverse (< n 0))
-      (dotimes (i (abs n))
+      (dotimes (_i (abs n))
         ;; Escape current overlay
         (vdiff--maybe-exit-overlay reverse)
         (setq pnt (point))
@@ -852,6 +852,8 @@ asked to select two buffers."
     (define-key map "C" 'vdiff-close-all-folds)
+(defvar vdiff-scroll-lock-mode)
 (define-minor-mode vdiff-mode
   "Minor mode active in a vdiff session. This sets up key
 bindings in `vdiff-mode-map' and adds hooks to refresh diff on

reply via email to

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