[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive e575db6a50 18/21: Change: (h/read-entry) Remove
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive e575db6a50 18/21: Change: (h/read-entry) Remove args PREDICATE, FORCE-PROMPT-DRIVE |
Date: |
Wed, 21 Aug 2024 01:10:12 -0400 (EDT) |
branch: elpa/hyperdrive
commit e575db6a50870950ad5e165d508a5b358aa555dd
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Change: (h/read-entry) Remove args PREDICATE, FORCE-PROMPT-DRIVE
---
hyperdrive-lib.el | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 4af10c7048..fcadb0e7e4 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -1228,13 +1228,9 @@ For each of FORMATS, concatenates the value separated by
two spaces."
when (h//preferred-format hyperdrive format)
concat (concat it " "))))
-(cl-defun h/read-entry (&key hyperdrive predicate default-path
- (force-prompt-drive t) latest-version
read-version)
+(cl-defun h/read-entry (&key hyperdrive default-path latest-version
read-version)
"Return new hyperdrive entry in HYPERDRIVE with path read from user.
-With nil HYPERDRIVE, prompt for one according to PREDICATE and
-FORCE-PROMPT-DRIVE.
-
If DEFAULT-PATH, offer it as the default entry path. Otherwise,
offer the path of `hyperdrive-current-entry' when it is in the
hyperdrive chosen with completion.
@@ -1244,10 +1240,7 @@ When LATEST-VERSION is nil, READ-VERSION is non-nil, and
`hyperdrive-current-entry' is in the hyperdrive chosen with
completion, returned entry has the same version.
Otherwise, prompt for a version number."
- (let* ((hyperdrive (or hyperdrive
- (h//context-hyperdrive :predicate predicate
- :force-prompt
force-prompt-drive)))
- (default-version (and (not latest-version)
+ (let* ((default-version (and (not latest-version)
h/current-entry
(h/equal-p hyperdrive
(he/hyperdrive h/current-entry))
- [nongnu] elpa/hyperdrive 36f2842bf3 01/21: Tidy: (h//context-hyperdrive) Rename from h/complete-hyperdrive, (continued)
- [nongnu] elpa/hyperdrive 36f2842bf3 01/21: Tidy: (h//context-hyperdrive) Rename from h/complete-hyperdrive, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 7985ec745a 11/21: Fix: (h/org-link-complete) Always prompt to pick hyperdrive, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 18fa759807 13/21: Tidy: (hyperdrive-view-file) Pass explicit hyperdrive arg, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive a076397acc 09/21: Tidy: (h//context-entry) Pass explicit hyperdrive arg, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive a124eb3b20 14/21: Tidy: (hyperdrive-write-buffer) Pass explicit hyperdrive arg, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 80813274bb 15/21: Change: (hyperdrive-write-buffer) Better default path prompt, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive c4b2ceb5d0 17/21: Tidy: (h/menu-bar-menu) Use h//context-hyperdrive, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 3e02096dee 19/21: Change: (h/read-entry) Make HYPERDRIVE a positional argument, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 25f540a7df 20/21: Tidy: (h//context-entry) Use a labeled function instead of thunk, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 5bdeecd0d4 16/21: Tidy: (hyperdrive-upload-file) Pass explicit hyperdrive arg, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive e575db6a50 18/21: Change: (h/read-entry) Remove args PREDICATE, FORCE-PROMPT-DRIVE,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 3b7167539a 21/21: Merge: Refactor internal functions for reading hyperdrives, ELPA Syncer, 2024/08/21