aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Abrahamsen2017-11-20 14:21:32 -0800
committerEric Abrahamsen2017-11-20 14:21:32 -0800
commit556aca3a44562ed4fc9570a42ef2defeaea5260b (patch)
tree7ff696dbf2e5c94d68f8e9fa35b15c1ffd95844a
parent046cde2d66ed044eb7eb71cd9e69206ee59e12fe (diff)
downloademacs-556aca3a44562ed4fc9570a42ef2defeaea5260b.tar.gz
emacs-556aca3a44562ed4fc9570a42ef2defeaea5260b.zip
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.
-rw-r--r--lisp/gnus/gnus-score.el10
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."
1078 "Return the score of the current article. 1078 "Return the score of the current article.
1079 With prefix ARG, return the total score of the current (sub)thread." 1079 With prefix ARG, return the total score of the current (sub)thread."
1080 (interactive "P") 1080 (interactive "P")
1081 (gnus-message 1 "%s" (if arg 1081 (message "%s" (if arg
1082 (gnus-thread-total-score 1082 (gnus-thread-total-score
1083 (gnus-id-to-thread 1083 (gnus-id-to-thread
1084 (mail-header-id (gnus-summary-article-header)))) 1084 (mail-header-id (gnus-summary-article-header))))
1085 (gnus-summary-article-score)))) 1085 (gnus-summary-article-score))))
1086 1086
1087(defun gnus-score-change-score-file (file) 1087(defun gnus-score-change-score-file (file)
1088 "Change current score alist." 1088 "Change current score alist."