Use message instead of gnus-message in gnus-summary-current-score

* lisp/gnus/gnus-score.el (gnus-summary-current-score): The only point
  of this function is to display the score to the user, there's no
  need to do gnus-message filtering.
This commit is contained in:
Eric Abrahamsen 2017-11-20 14:21:32 -08:00
parent 046cde2d66
commit 556aca3a44

View file

@ -1078,11 +1078,11 @@ EXTRA is the possible non-standard header."
"Return the score of the current article.
With prefix ARG, return the total score of the current (sub)thread."
(interactive "P")
(gnus-message 1 "%s" (if arg
(gnus-thread-total-score
(gnus-id-to-thread
(mail-header-id (gnus-summary-article-header))))
(gnus-summary-article-score))))
(message "%s" (if arg
(gnus-thread-total-score
(gnus-id-to-thread
(mail-header-id (gnus-summary-article-header))))
(gnus-summary-article-score))))
(defun gnus-score-change-score-file (file)
"Change current score alist."