Use condition-case-unless-debug in nnselect-run

* lisp/gnus/nnselect.el (nnselect-run): This is confusing for users,
make it more yielding to common debugging strategies.
This commit is contained in:
Eric Abrahamsen 2021-05-16 10:20:43 -07:00
parent 10a14f6ac3
commit 0212fb180a

View file

@ -777,7 +777,7 @@ If this variable is nil, or if the provided function returns nil,
Return an article list."
(let ((func (alist-get 'nnselect-function specs))
(args (alist-get 'nnselect-args specs)))
(condition-case err
(condition-case-unless-debug err
(funcall func args)
(error (gnus-error 3 "nnselect-run: %s on %s gave error %s" func args err)
[]))))