emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 556aca3: Use message instead of gnus-message in gnu


From: Eric Abrahamsen
Subject: [Emacs-diffs] master 556aca3: Use message instead of gnus-message in gnus-summary-current-score
Date: Mon, 20 Nov 2017 17:22:28 -0500 (EST)

branch: master
commit 556aca3a44562ed4fc9570a42ef2defeaea5260b
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    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.
---
 lisp/gnus/gnus-score.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lisp/gnus/gnus-score.el b/lisp/gnus/gnus-score.el
index bc11aa5..6c3a8b4 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]