From: Eric Abrahamsen Date: Mon, 20 Nov 2017 22:21:32 +0000 (-0800) Subject: Use message instead of gnus-message in gnus-summary-current-score X-Git-Tag: emacs-27.0.90~6142 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=556aca3a44562ed4fc9570a42ef2defeaea5260b;p=emacs.git 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. --- diff --git a/lisp/gnus/gnus-score.el b/lisp/gnus/gnus-score.el index bc11aa528fa..6c3a8b4cecf 100644 --- a/lisp/gnus/gnus-score.el +++ b/lisp/gnus/gnus-score.el @@ -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."