[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 87cd168e8f 17/31: Chore: Shorten long lines in
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 87cd168e8f 17/31: Chore: Shorten long lines in he/version-ranges-no-gaps |
Date: |
Fri, 1 Dec 2023 01:00:39 -0500 (EST) |
branch: elpa/hyperdrive
commit 87cd168e8f0af729701a3f8d75195bb8f5f25aff
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Joseph Turner <joseph@ushin.org>
Chore: Shorten long lines in he/version-ranges-no-gaps
---
hyperdrive-lib.el | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 70a8e273bc..96baa3af25 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -370,16 +370,23 @@ When the final range's range-end is less than ENTRY's
hyperdrive's latest-version slot, the final gap is filled."
(let ((ranges '())
(previous-range-end 0))
- (pcase-dolist (`(,range-start . ,(map (:range-end range-end) (:existsp
existsp))) (he/version-ranges entry))
+ (pcase-dolist (`(,range-start . ,(map (:range-end range-end)
+ (:existsp existsp)))
+ (he/version-ranges entry))
;; If he/version-ranges returns nil, this whole loop will be skipped.
(let ((next-range-start (1+ previous-range-end)))
(when (> range-start next-range-start)
;; Insert an "unknown" gap range
- (push `(,next-range-start . (:range-end ,(1- range-start) :existsp
unknown)) ranges))
- (push `(,range-start . (:range-end ,range-end :existsp ,existsp))
ranges)
+ (push `(,next-range-start . ( :range-end ,(1- range-start)
+ :existsp unknown))
+ ranges))
+ (push `(,range-start . ( :range-end ,range-end
+ :existsp ,existsp))
+ ranges)
(setf previous-range-end range-end)))
(pcase-let* ((final-known-range (car ranges))
- (`(,_range-start . ,(map (:range-end final-known-range-end)))
final-known-range)
+ (`(,_range-start . ,(map (:range-end final-known-range-end)))
+ final-known-range)
(latest-version (h/latest-version (he/hyperdrive entry))))
(unless final-known-range-end
(setf final-known-range-end 0))
- [nongnu] elpa/hyperdrive c4c9471144 09/31: Chore: Set one variable per setf and setq-local form, (continued)
- [nongnu] elpa/hyperdrive c4c9471144 09/31: Chore: Set one variable per setf and setq-local form, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 285692b095 08/31: Chore: Consistently use setf even if setq would work, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive cd652eb9a2 12/31: Chore: Shorten long lines within comments, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive a806d3d575 11/31: Chore: Break up long lines in the context of keywords arguments, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 8bfe858d12 18/31: Chore: Shorten long lines in h/history, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive c5b75983f5 27/31: Tidy: (h/gateway-process-type) "run" is first arg to hyper-gateway, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 67c49adf70 22/31: Chore: Join some short lines, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 5f7c75b09e 26/31: Meta: Update changelog with hyperdrive-gateway-process-type, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive ee36298f3f 13/31: Chore: Break up long lines involving h/message, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 25a2191dcf 19/31: Chore: Avoid filling available space with arguments, ELPA Syncer, 2023/12/01
- [nongnu] elpa/hyperdrive 87cd168e8f 17/31: Chore: Shorten long lines in he/version-ranges-no-gaps,
ELPA Syncer <=