From dafbdb87ecccd347bc120816c29f4b7909bc73ca Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 6 Jul 2022 20:34:33 -0700 Subject: [PATCH] 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 3fb2ed3c626..c1b559ba6f4 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) -- 2.39.5