[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 112e7b6316 10/16: Fix: (h/history-fill-version-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 112e7b6316 10/16: Fix: (h/history-fill-version-ranges) Handle invocations on top line |
Date: |
Wed, 14 Aug 2024 16:00:13 -0400 (EDT) |
branch: elpa/hyperdrive
commit 112e7b6316734a4d9fc41860df9e467eaec6ed4f
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Fix: (h/history-fill-version-ranges) Handle invocations on top line
---
hyperdrive-history.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hyperdrive-history.el b/hyperdrive-history.el
index 7cddce0080..23fbc50976 100644
--- a/hyperdrive-history.el
+++ b/hyperdrive-history.el
@@ -229,10 +229,12 @@ prefix argument \\[universal-argument], prompt for ENTRY."
(defun h/history-fill-version-ranges (entry)
"Fill version ranges starting from ENTRY at point."
(interactive (list (h/history-entry-at-point)))
- (pcase-let* (((cl-struct hyperdrive-entry (etc (map range-end))) entry)
+ (pcase-let* (((cl-struct h/entry hyperdrive etc) entry)
+ ((cl-struct hyperdrive latest-version) hyperdrive)
+ ((map range-end) etc)
(range-end-entry (compat-call copy-tree entry t))
(ov (make-overlay (pos-bol) (+ (pos-bol) (length "Loading")))))
- (setf (he/version range-end-entry) range-end)
+ (setf (he/version range-end-entry) (or range-end latest-version))
(overlay-put ov 'display "Loading")
(h/fill-version-ranges range-end-entry
:finally (lambda ()
- [nongnu] elpa/hyperdrive updated (8aa6889759 -> 0779db8882), ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive 46d91898b0 14/16: Meta: (CHANGELOG) Update note about forget-file, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive 112e7b6316 10/16: Fix: (h/history-fill-version-ranges) Handle invocations on top line,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 00b0ad6c4c 02/16: Add: (he/within-version-range) Check whether entry is within range, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive e949238b77 08/16: Comment: (he//api-then) Add TODO, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive be5c54569a 15/16: Meta: (CHANGELOG) Note internal changes, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive 4aa7cb8cbd 04/16: Change: (he//invalidate) Also invalidate history EWOC nodes, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive 0779db8882 16/16: Merge: Forget files from history buffer; refactor hyperdrive-history, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive cd2d45225b 03/16: Add: (h/history-find-buffer-visiting) Get history buffer at entry, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive 3c521a9960 11/16: Add: (h/history-forget-file) Bound to "F" in history buffers, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive b3b3396569 05/16: Change: (h/history) Store existsp and range-end in entry ETC, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive 279b65fc4b 09/16: Comment: (he//invalidate) Add TODO, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive ed54931e62 12/16: Docs: Document hyperdrive-history-forget-file, ELPA Syncer, 2024/08/14