branch: scratch/add-vdiff
commit c8cba47e2723e1f682f4844a8a0cea261505ade2
Author: Syohei YOSHIDA <[email protected]>
Commit: Syohei YOSHIDA <[email protected]>
Fix package
- subr-x.el was bundled since Emacs 24.4
- Use cl-lib function instead of cl.el
---
vdiff.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vdiff.el b/vdiff.el
index 93fa233..64d690a 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -6,7 +6,7 @@
;; URL: https://github.com/justbur/emacs-vdiff
;; Version: 0
;; Keywords:
-;; Package-Requires: ((emacs "24.3"))
+;; Package-Requires: ((emacs "24.4"))
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -664,7 +664,7 @@ of a \"word\"."
(cond ((assoc a-range vdiff--folds)
;; Restore any overlays on same range
(let* ((a-fold (cadr (assoc a-range vdiff--folds)))
- (b-fold (caddr (assoc a-range vdiff--folds)))
+ (b-fold (cl-caddr (assoc a-range vdiff--folds)))
(a-beg (vdiff--pos-at-line-beginning
(car a-range) a-buffer))
(a-end (vdiff--pos-at-line-beginning