[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive bc622823e6 10/13: Tidy: Function call
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive bc622823e6 10/13: Tidy: Function call |
Date: |
Fri, 8 Sep 2023 19:00:09 -0400 (EDT) |
branch: elpa/hyperdrive
commit bc622823e61fc2ae7d2cd2c875357920618e4de4
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Tidy: Function call
---
hyperdrive.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/hyperdrive.el b/hyperdrive.el
index e7fac8896b..6eb24779b6 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -543,9 +543,8 @@ recurse, passing NO-RECURSE t to `hyperdrive-next-version'."
(if (hyperdrive--entry-directory-p entry)
;; For directories, increment the version number by one.
(let ((next-version (1+ (hyperdrive-entry-version entry))))
- (if (eq next-version latest-version)
- (open-at-version nil)
- (open-at-version next-version)))
+ (open-at-version (pcase next-version
+ (latest-version nil) (_ next-version))))
(pcase-let* ((`(,_range-start . ,(map (:range-end range-end)))
(hyperdrive-entry-version-range entry))
(next-range-start (1+ range-end))
((map (:existsp next-range-existsp) (:range-end
next-range-end))
- [nongnu] elpa/hyperdrive updated (b5651bcfd1 -> 24df174711), ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive d7ad2d87e2 02/13: Change: (hyperdrive-mirror) Add faces for each status, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 96326a0222 06/13: Fix: (hyperdrive--mirror) Signal user-error when no files to upload, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive bc622823e6 10/13: Tidy: Function call,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 4a6296f10f 09/13: Comment: Add NOTE, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 1423b9b8f2 08/13: Comment: Add TODO, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 0d6ad70c0c 03/13: Add: (hyperdrive-mirror.el) Add revert-buffer-function, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 2ce5f9c3a9 01/13: Change: (hyperdrive-mirror.el) Compare file modification times, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 39475924c0 04/13: Change: (hyperdrive-mirror) Distinguish older files from same mtime, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 0591645ed8 05/13: Comment: Add TODO, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive a71bea29a8 07/13: Comment: Update TODO, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive be7dc28786 11/13: Tidy: (hyperdrive-next-version) Use if instead of pcase, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 114bc1e7bc 12/13: Tidy, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 24df174711 13/13: Merge branch 'mirror-compare-mtime', ELPA Syncer, 2023/09/08