[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive d158584d74 8/9: Change: (hyperdrive--clean-buff
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive d158584d74 8/9: Change: (hyperdrive--clean-buffer) Also compare versions |
Date: |
Thu, 12 Oct 2023 16:00:56 -0400 (EDT) |
branch: elpa/hyperdrive
commit d158584d74c4748769438eab25eeab4c0dfc3b1d
Author: Joseph Turner <joseph@ushin.org>
Commit: Adam Porter <adam@alphapapa.net>
Change: (hyperdrive--clean-buffer) Also compare versions
---
hyperdrive-lib.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index dbbda4276d..c9b6f2ed5c 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -1434,14 +1434,15 @@ When BUFFER is nil, act on current buffer."
(defun hyperdrive-entry-equal-p (a b)
"Return non-nil if hyperdrive entries A and B are equal.
-Compares only public key and path."
- (pcase-let (((cl-struct hyperdrive-entry (path a-path)
+Compares only public key, version, and path."
+ (pcase-let (((cl-struct hyperdrive-entry (path a-path) (version a-version)
(hyperdrive (cl-struct hyperdrive (public-key
a-key))))
a)
- ((cl-struct hyperdrive-entry (path b-path)
+ ((cl-struct hyperdrive-entry (path b-path) (version b-version)
(hyperdrive (cl-struct hyperdrive (public-key
b-key))) )
b))
- (and (equal a-path b-path)
+ (and (eq a-version b-version)
+ (equal a-path b-path)
(equal a-key b-key))))
(defun hyperdrive-equal-p (a b)
- [nongnu] elpa/hyperdrive updated (1d911fee7f -> 5d3d0cf953), ELPA Syncer, 2023/10/12
- [nongnu] elpa/hyperdrive 3fc0e5b366 2/9: Docs: Document double left click behavior, ELPA Syncer, 2023/10/12
- [nongnu] elpa/hyperdrive db5695f5de 6/9: Fix: (hyperdrive-delete) buffer-local-value call, ELPA Syncer, 2023/10/12
- [nongnu] elpa/hyperdrive 167bbb4a36 4/9: Docs: Change wording of hyperdrive-menu section, ELPA Syncer, 2023/10/12
- [nongnu] elpa/hyperdrive c94885e52b 7/9: Change: (hyperdrive--buffer-visiting-entry-p) Rename, ELPA Syncer, 2023/10/12
- [nongnu] elpa/hyperdrive a14d14d61a 5/9: Fix: Set buffer-modified-p in buffers for deleted hyperdrive files, ELPA Syncer, 2023/10/12
- [nongnu] elpa/hyperdrive 5d3d0cf953 9/9: Merge branch 'deleted-buffer-modified-p', ELPA Syncer, 2023/10/12
- [nongnu] elpa/hyperdrive da8f663513 3/9: Docs: Document menu bar, ELPA Syncer, 2023/10/12
- [nongnu] elpa/hyperdrive d158584d74 8/9: Change: (hyperdrive--clean-buffer) Also compare versions,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 04c8475ea3 1/9: Change: Bind double-mouse-1 click to open file at point, ELPA Syncer, 2023/10/12