branch: externals/urgrep commit 773ff5c998cf6feb90e1c0da3a8a397a752fcb17 Author: Jim Porter <jporterb...@gmail.com> Commit: Jim Porter <jporterb...@gmail.com>
Improve error messages for `urgrep-adjust-query` --- urgrep.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/urgrep.el b/urgrep.el index a5bfb29984..29fbf97e1d 100644 --- a/urgrep.el +++ b/urgrep.el @@ -752,10 +752,10 @@ Finally, this sets PROP to BODY's return value and re-runs the search." (declare (indent 1)) (unless (keywordp prop) - (error "invalid PROP %S" prop)) + (error "Invalid PROP %S" prop)) (let ((prop-variable (intern (substring (symbol-name prop) 1)))) `(if (not (listp urgrep-current-query)) - (error "nope") + (error "Unable to determine query properties") (let* ((new-value (let ((,prop-variable (plist-get (cdr urgrep-current-query) ,prop)))