branch: externals/consult commit 324450e795931d874fc8be1f47e3885ed662b1db Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
consult-recent-file: Improve error message --- consult.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consult.el b/consult.el index 6edbfa1c97..0d511e7d9d 100644 --- a/consult.el +++ b/consult.el @@ -3529,7 +3529,7 @@ narrowing and the settings `consult-goto-line-numbers' and (let (file-name-handler-alist) ;; No Tramp slowdown please (mapcar #'abbreviate-file-name (bound-and-true-p recentf-list))) (user-error "No recent files, `recentf-mode' is %s" - (if recentf-mode "on" "off"))) + (if recentf-mode "enabled" "disabled"))) :prompt "Find recent file: " :sort nil :require-match t