[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 9ea9e9a1dc 02/15: Change: (hyperdrive-read-path
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 9ea9e9a1dc 02/15: Change: (hyperdrive-read-path) Don't pass INITIAL-INPUT |
Date: |
Tue, 10 Oct 2023 19:00:33 -0400 (EDT) |
branch: elpa/hyperdrive
commit 9ea9e9a1dc37c3463ed20bac7bc172e307bae363
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Change: (hyperdrive-read-path) Don't pass INITIAL-INPUT
The `read-string' docstring recommends against its use.
---
hyperdrive-lib.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 079760b75b..a3d2caacc7 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -1115,8 +1115,7 @@ INITIAL-INPUT-NUMBER is converted to a string and passed
to
"Return path read from user.
HYPERDRIVE and VERSION are used to fill in the prompt's format %s
sequence. PROMPT is passed to `format-prompt', which see. DEFAULT
-is passed to `read-string' as both its INITIAL-INPUT and
-DEFAULT-VALUE arguments."
+is passed to `read-string' as its DEFAULT-VALUE argument."
(let ((prompt (or prompt
(if version
"Path in «%s» (version:%s)"
@@ -1124,7 +1123,7 @@ DEFAULT-VALUE arguments."
;; TODO: Provide a `find-file'-like auto-completing UI
(read-string (format-prompt prompt default
(hyperdrive--format-hyperdrive hyperdrive)
version)
- default 'hyperdrive--path-history default)))
+ nil 'hyperdrive--path-history default)))
(defvar hyperdrive--url-history nil
"Minibuffer history of `hyperdrive-read-url'.")
- [nongnu] elpa/hyperdrive updated (00efc9cd5c -> 836c9f746e), ELPA Syncer, 2023/10/10
- [nongnu] elpa/hyperdrive 4a748ce009 01/15: Fix: (hyperdrive-download) Docstring, ELPA Syncer, 2023/10/10
- [nongnu] elpa/hyperdrive 9ea9e9a1dc 02/15: Change: (hyperdrive-read-path) Don't pass INITIAL-INPUT,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive aaac530845 05/15: Change: (--context-entry) Always force-prompt when reading entry, ELPA Syncer, 2023/10/10
- [nongnu] elpa/hyperdrive 7d1ad1b420 07/15: Change: (hyperdrive-upload-file) Always force-prompt, ELPA Syncer, 2023/10/10
- [nongnu] elpa/hyperdrive bf17905b6c 04/15: Change: (hyperdrive-view-file) Always force-prompt, ELPA Syncer, 2023/10/10
- [nongnu] elpa/hyperdrive 6a42c761d6 13/15: Change: (-read-entry) Use current entry path as DEFAULT-PATH default, ELPA Syncer, 2023/10/10
- [nongnu] elpa/hyperdrive 836c9f746e 15/15: Merge: (hyperdrive-read-entry) Prompt separately for drive and version, ELPA Syncer, 2023/10/10
- [nongnu] elpa/hyperdrive a62d64c1b0 03/15: Change: (hyperdrive-find-file) Always force-prompt, ELPA Syncer, 2023/10/10
- [nongnu] elpa/hyperdrive 7fe60cd054 10/15: Change: (hyperdrive-read-entry) Split force-prompt argument, ELPA Syncer, 2023/10/10
- [nongnu] elpa/hyperdrive 25d265d476 09/15: Change: (hyperdrive-history) Use hyperdrive--context-entry, ELPA Syncer, 2023/10/10
- [nongnu] elpa/hyperdrive 5cafa8eda1 11/15: Fix: (hyperdrive-delete) Interactively don't read a version number, ELPA Syncer, 2023/10/10
- [nongnu] elpa/hyperdrive 33aa0786ac 12/15: Fix: (hyperdrive-menu) Avoid hyperdrive--context-entry in :inapt-if, ELPA Syncer, 2023/10/10