branch: scratch/add-vdiff
commit 938cc5549229df3e5f1127e24b48d53640513a1e
Author: justbur <[email protected]>
Commit: justbur <[email protected]>
Fix use of delq (wanted remq)
---
vdiff.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vdiff.el b/vdiff.el
index 2e1fbc8..a19d859 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -253,7 +253,7 @@ because those are handled differently.")
(overlay-get ovr 'vdiff-hunk-overlays))
(defun vdiff--other-overlays (ovr)
- (delq ovr (vdiff--all-overlays ovr)))
+ (remq ovr (vdiff--all-overlays ovr)))
(defun vdiff--read-3way-target (ovr &optional just-one)
(when vdiff-3way-mode
@@ -287,7 +287,7 @@ because those are handled differently.")
(vdiff-3way-mode
(user-error "vdiff: No target overlay"))
(t
- (delq this-ovr other-ovrs))))))
+ (remq this-ovr other-ovrs))))))
(defun vdiff--min-window-width ()
(apply #'min