emacs-diffs
[Top][All Lists]
Advanced

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

master dafbdb87ec: gnus-advanced-body: Fix return value


From: Sean Whitton
Subject: master dafbdb87ec: gnus-advanced-body: Fix return value
Date: Wed, 6 Jul 2022 23:39:31 -0400 (EDT)

branch: master
commit dafbdb87ecccd347bc120816c29f4b7909bc73ca
Author: Sean Whitton <spwhitton@spwhitton.name>
Commit: Sean Whitton <spwhitton@spwhitton.name>

    gnus-advanced-body: Fix return value
    
    * gnus-logic.el (gnus-advanced-body): Return whether the search
    succeeded, not the value of one of the cleanup forms.
---
 lisp/gnus/gnus-logic.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/gnus/gnus-logic.el b/lisp/gnus/gnus-logic.el
index 3fb2ed3c62..c1b559ba6f 100644
--- a/lisp/gnus/gnus-logic.el
+++ b/lisp/gnus/gnus-logic.el
@@ -224,8 +224,8 @@
           (goto-char (point-min))
           (prog1
               (funcall search-func match nil t)
-            (widen)))
-        (when handles (mm-destroy-parts handles))))))
+            (widen)
+            (when handles (mm-destroy-parts handles))))))))
 
 (provide 'gnus-logic)
 



reply via email to

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