branch: scratch/add-vdiff
commit 2c113c4185016b8125472577008520976177f54f
Merge: 988c476 245850f
Author: Justin Burkett <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #1 from syohex/cl-lib
Load cl-lib for using its function
---
vdiff.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vdiff.el b/vdiff.el
index 776c429..857348b 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -92,6 +92,8 @@
;;; Code:
+(require 'cl-lib)
+
(defgroup vdiff nil
"Diff tool that is like vimdiff"
:tag "Vdiff"
@@ -691,7 +693,7 @@ buffer and center both buffers at this line."
(let ((vdiff--inhibit-sync t))
(call-interactively real-this-command))
(if (< vdiff--scroll-command-cnt 40)
- (incf vdiff--scroll-command-cnt)
+ (cl-incf vdiff--scroll-command-cnt)
;; (message "syncing lines")
(setq vdiff--scroll-command-cnt 0)
(vdiff--move-to-line