From 279c40fabb90a1cf51cda141a307e7cd8d0590d5 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 28 Feb 2024 01:55:32 +0200 Subject: 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. --- gnosis.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3