From: Katsumi Yamaoka Date: Wed, 9 Jun 2004 12:08:46 +0000 (+0000) Subject: (message-text-with-property): Remove useless progn. X-Git-Url: https://cgit.sxemacs.org/?a=commitdiff_plain;h=289e68f079882fbcb0a17e412da5a545021c32b7;p=gnus (message-text-with-property): Remove useless progn. --- diff --git a/lisp/message.el b/lisp/message.el index c02b7686b..4da7bba44 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -3493,12 +3493,11 @@ not have PROP." (setq end (point-max))) (let (next regions) (if reverse - (progn - (while (and start - (setq start (text-property-any start end prop nil))) - (setq next (next-single-property-change start prop nil end)) - (push (cons start (or next end)) regions) - (setq start next))) + (while (and start + (setq start (text-property-any start end prop nil))) + (setq next (next-single-property-change start prop nil end)) + (push (cons start (or next end)) regions) + (setq start next)) (while (and start (or (get-text-property start prop) (and (setq start (next-single-property-change