[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/add-vdiff d25fe21 054/258: More arg name changes
From: |
Justin Burkett |
Subject: |
[elpa] scratch/add-vdiff d25fe21 054/258: More arg name changes |
Date: |
Wed, 17 May 2017 08:13:22 -0400 (EDT) |
branch: scratch/add-vdiff
commit d25fe2102c314578ef02b7f1c9c83c38bf1d8185
Author: justbur <address@hidden>
Commit: justbur <address@hidden>
More arg name changes
---
vdiff.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/vdiff.el b/vdiff.el
index 93d7aaf..3bb093b 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -364,20 +364,20 @@ text on the first line, and the width of the buffer."
(vdiff--make-subtraction-string n-subtraction-lines)))
ovr))))
-(defun vdiff-fold-string-default (n-lines first-line width)
+(defun vdiff-fold-string-default (n-lines first-line-text width)
"Produces default format line for closed folds. See
`vdiff-fold-string-function'."
- (let ((first-line (string-trim-left first-line))
+ (let ((first-line-text (string-trim-left first-line-text))
(start (format "+--%d lines: " n-lines))
(width (1- width)))
- (if (> (+ 1 (length first-line) (length start)) width)
+ (if (> (+ 1 (length first-line-text) (length start)) width)
(concat start
(substring-no-properties
- first-line 0 (- width (length start)))
+ first-line-text 0 (- width (length start)))
"\n")
(concat start
- first-line
- (make-string (- width (length start) (length first-line)) ?-)
+ first-line-text
+ (make-string (- width (length start) (length first-line-text))
?-)
"\n"))))
(defun vdiff--make-fold (buffer range)
- [elpa] scratch/add-vdiff 1b96390 021/258: Use fringes for open folds, (continued)
- [elpa] scratch/add-vdiff 1b96390 021/258: Use fringes for open folds, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 8a51468 025/258: Don't close fold on point on refresh, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 4d5299e 031/258: Fix alignment of folds next to subtractions, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff f826315 033/258: Increase default fold padding, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 3e1169c 043/258: Screenshot showing off theme integration, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff a094450 048/258: Tweak line translation rules for better scrolling, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 0fd1837 063/258: Update screenshot, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff b02b59e 072/258: Whitespace cleanup, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff b2ba7ab 070/258: Move hydra to main file and avoid dependency, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff bfdfc74 053/258: Modify gitignore, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff d25fe21 054/258: More arg name changes,
Justin Burkett <=
- [elpa] scratch/add-vdiff 875e6ce 057/258: Merge pull request #2 from purcell/patch-1, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 1640078 061/258: Merge remote-tracking branch 'origin/master', Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff c6c959d 071/258: Fix nth-change at beginning and end of buffer, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff d07e9fb 056/258: Fix typo in package description, remove redundant "for Emacs", Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 69c85cb 080/258: Better way to trigger other window update, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff cce8eb1 086/258: Don't close fold on point after change, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 8a88f84 074/258: Use simpler strategy for updating windows on line move, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff c5589a1 089/258: Delete temp files on deactivation, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 4dc6c89 077/258: Add next/prev fold commands and update hydra, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 4ea6afb 082/258: Add docstrings and rearrange some calls, Justin Burkett, 2017/05/17