diff options
author | Thanos Apollo <[email protected]> | 2024-02-28 01:55:32 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-28 01:55:32 +0200 |
commit | 279c40fabb90a1cf51cda141a307e7cd8d0590d5 (patch) | |
tree | c8807bef586b049d83b336347b8df9c519887415 /gnosis.el | |
parent | 6d6d58a93ea647cca16ec5f9b60ff41058a3dc75 (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.
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |