[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/add-vdiff 72fe0fa 130/258: Don't update diff info while s
From: |
Justin Burkett |
Subject: |
[elpa] scratch/add-vdiff 72fe0fa 130/258: Don't update diff info while sending changes |
Date: |
Wed, 17 May 2017 08:13:37 -0400 (EDT) |
branch: scratch/add-vdiff
commit 72fe0fa15e8ab50a7d2e0a0898593f9f58bedd58
Author: justbur <address@hidden>
Commit: justbur <address@hidden>
Don't update diff info while sending changes
---
vdiff.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/vdiff.el b/vdiff.el
index b8721d9..c9c9d9f 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -170,7 +170,7 @@ because those are handled differently.")
(defvar vdiff--diff-code-regexp
"^\\([0-9]+\\),?\\([0-9]+\\)?\\([adc]\\)\\([0-9]+\\),?\\([0-9]+\\)?")
(defvar vdiff--inhibit-window-switch nil)
-(defvar vdiff--inhibit-diff-data-update nil)
+(defvar vdiff--inhibit-diff-update nil)
(defvar vdiff--in-scroll-hook nil)
;; (defvar vdiff--in-post-command-hook nil)
(defvar vdiff--a-b-line-map nil)
@@ -321,7 +321,7 @@ because those are handled differently.")
(defun vdiff--diff-refresh-1 (proc event)
"This is the sentinel for `vdiff-refresh'. It does the job of
parsing the diff output and triggering the overlay updates."
- (unless vdiff--inhibit-diff-data-update
+ (unless vdiff--inhibit-diff-update
(let (finished)
(cond ((string= "finished\n" event)
;; means no difference between files
@@ -727,7 +727,7 @@ of a \"word\"."
(b-line 1)
(a-last-post 1)
(b-last-post 1)
- (vdiff--inhibit-diff-data-update t)
+ (vdiff--inhibit-diff-update t)
folds)
(save-excursion
(with-current-buffer a-buffer
@@ -806,7 +806,8 @@ is active, send all changes found in the region. Otherwise
use
the hunk under point or on the immediately preceding line."
(interactive
(vdiff--region-or-close-overlay))
- (let* ((ovrs (overlays-in beg end)))
+ (let* ((ovrs (overlays-in beg end))
+ (vdiff--inhibit-diff-update t))
(dolist (ovr ovrs)
(cond ((and (overlay-get ovr 'vdiff-other-overlay)
receive)
@@ -882,7 +883,7 @@ just deleting text in the other buffer."
(defun vdiff--refresh-line-maps ()
"Sync information in `vdiff--line-map' with
`vdiff--diff-data'."
- (let ((vdiff--inhibit-diff-data-update t)
+ (let ((vdiff--inhibit-diff-update t)
a-b-map b-a-map)
(dolist (entry vdiff--diff-data)
(let* ((code (car entry))
- [elpa] scratch/add-vdiff a15b0e5 084/258: Move point before closing fold, (continued)
- [elpa] scratch/add-vdiff a15b0e5 084/258: Move point before closing fold, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 425d50b 085/258: Add vdiff-close-other-folds, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 6516112 075/258: Minor formatting, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 968047f 093/258: Change wording in a docstring, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff ad0e8c3 091/258: Make mirrored-commands private and rename, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 309e912 108/258: Refresh automatically on idle after change, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 5b1b342 119/258: Remove duplicated code in vdiff-files, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 750a1bc 124/258: Fix bug in remove-refinements, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff c8cba47 125/258: Fix package, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 83f0788 118/258: Don't make temp files global, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 72fe0fa 130/258: Don't update diff info while sending changes,
Justin Burkett <=
- [elpa] scratch/add-vdiff c6e30a2 136/258: Merge pull request #9 from gvol/master, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 53c2a6b 153/258: Fix receiving changes, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 5dcdc97 158/258: Remove other-window, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 7029054 159/258: Comment out vdiff-buffers3, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 97d7098 174/258: Add screenshot of three way diff, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 8b79246 171/258: Make sure we're in a vdiff buffer on refresh, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 42f56ae 177/258: Don't jump to beginning of buffer on start, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 192dbfe 166/258: Release vdiff-buffers3, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 1d8f6e7 185/258: Use correct mode for three way diff on quit, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 71d1d20 169/258: Add overlay markers to diff3 send/receive, Justin Burkett, 2017/05/17