diff options
author | Eric Abrahamsen <eric@ericabrahamsen.net> | 2017-11-20 14:21:32 -0800 |
---|---|---|
committer | Eric Abrahamsen <eric@ericabrahamsen.net> | 2017-11-20 14:21:32 -0800 |
commit | 556aca3a44562ed4fc9570a42ef2defeaea5260b (patch) | |
tree | 7ff696dbf2e5c94d68f8e9fa35b15c1ffd95844a /lisp/gnus/gnus-score.el | |
parent | 046cde2d66ed044eb7eb71cd9e69206ee59e12fe (diff) | |
download | emacs-556aca3a44562ed4fc9570a42ef2defeaea5260b.tar.gz |
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.
Diffstat (limited to 'lisp/gnus/gnus-score.el')
-rw-r--r-- | lisp/gnus/gnus-score.el | 10 |
1 files changed, 5 insertions, 5 deletions
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." |