* message.el (message-get-reply-headers): Delete all duplicates,
instead of the first.
+ (message-get-reply-headers): Ensure that we have progress while
+ deleting duplicates.
* gnus-msg.el (gnus-configure-posting-styles): Get the local
gnus-posting-style value from the summary buffer to make it easier to
(while s
(let ((address (car (pop s))))
(while (assoc address s)
- (setq recipients (delq (assoc address s) recipients))))))
+ (setq recipients (delq (assoc address s) recipients)
+ s (delq (assoc address s) s))))))
;; Remove hierarchical lists that are contained within each other,
;; if message-hierarchical-addresses is defined.