From: Sean Whitton Date: Thu, 7 Jul 2022 03:34:33 +0000 (-0700) Subject: gnus-advanced-body: Fix return value X-Git-Tag: emacs-29.0.90~1447^2~1130 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dafbdb87ecccd347bc120816c29f4b7909bc73ca;p=emacs.git 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. --- 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)