[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive d13e6ffccb 01/42: Revert "Change: (h//url-histo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive d13e6ffccb 01/42: Revert "Change: (h//url-history) Use h//context-entry by default" |
Date: |
Wed, 19 Jun 2024 18:59:59 -0400 (EDT) |
branch: elpa/hyperdrive
commit d13e6ffccb7cda1d343383f5b1b9882f2a9ebd84
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Revert "Change: (h//url-history) Use h//context-entry by default"
With prefix arg or when no current entry exists, h//context-entry
prompts using h/read-entry. In this function, we never want to prompt
with h/read-entry.
This reverts commit 1f8a2def63e45c2d800811425c28bbdb628a39f4.
---
hyperdrive-lib.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index c2ff1f70d2..16f096d035 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -1284,7 +1284,8 @@ is passed to `read-string' as its DEFAULT-VALUE argument."
(cl-defun h/read-url (&key (prompt "Hyperdrive URL"))
"Return URL trimmed of whitespace.
Prompts with PROMPT. Defaults to current entry if it exists."
- (let ((default (he/url (h//context-entry))))
+ (let ((default (and h/current-entry
+ (he/url h/current-entry))))
(string-trim (read-string (format-prompt prompt default)
nil 'h//url-history default))))
- [nongnu] elpa/hyperdrive updated (488cc472b7 -> 79541d4aab), ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 50e2ad1cb9 05/42: Tidy, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive bc0ec7ffc5 03/42: Tidy: Indentation, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 53b76cc4a2 06/42: Add: (he//api-then), ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 2ad91d4c68 02/42: Fix: (h/read-url) Prompt for entry at point in dir-mode, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 849de77a47 04/42: Add: (he/api) New function, and use it, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive d13e6ffccb 01/42: Revert "Change: (h//url-history) Use h//context-entry by default",
ELPA Syncer <=
- [nongnu] elpa/hyperdrive d348be0615 31/42: Comment: Remove old TODO, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 28d51a621b 17/42: Comment: TODO, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 257c361e03 21/42: Change: (he//fill) Rename from h//fill, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 21fa46a869 24/42: Comment: Add TODO, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 2b3bf323a0 08/42: Change: (he/api) Always use :as 'response, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 36b0293cdd 11/42: Change: (h/write) Use he/api, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive a4d190a7bb 16/42: Comment: Add TODO, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 9f07c4588e 18/42: Change: (he/api) Fill latest version, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive b09916654d 19/42: Comment: Add TODO, ELPA Syncer, 2024/06/19
- [nongnu] elpa/hyperdrive 78e8eda8e9 20/42: Change: (he/fill) Rename from h/fill, ELPA Syncer, 2024/06/19