]> git.eshelyaron.com Git - emacs.git/commitdiff
gnus-advanced-body: Fix return value
authorSean Whitton <spwhitton@spwhitton.name>
Thu, 7 Jul 2022 03:34:33 +0000 (20:34 -0700)
committerSean Whitton <spwhitton@spwhitton.name>
Thu, 7 Jul 2022 03:34:33 +0000 (20:34 -0700)
* 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

index 3fb2ed3c626d5dfac56ac9547c25fd1f34e2d29a..c1b559ba6f403abec99f8c1c9f5869fef4821467 100644 (file)
           (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)