summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-28 01:55:32 +0200
committerThanos Apollo <[email protected]>2024-02-28 01:55:32 +0200
commit279c40fabb90a1cf51cda141a307e7cd8d0590d5 (patch)
treec8807bef586b049d83b336347b8df9c519887415
parent6d6d58a93ea647cca16ec5f9b60ff41058a3dc75 (diff)
gnsois-hint-prompt: Use read-string
read-from-minibuffer does the same thing, but since not many package authors use it I thought to avoid it as well, plus we have to make sure the value will be a string.
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index 43801f9..3cd62d9 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -864,7 +864,7 @@ Returns a list of unique tags."
(defun gnosis-hint-prompt (previous-hint &optional prompt)
(let* ((prompt (or prompt "Hint: "))
- (hint (read-from-minibuffer prompt previous-hint)))
+ (hint (read-string prompt previous-hint)))
(setf gnosis-previous-note-hint hint)
hint))