+2005-09-27 Simon Josefsson <jas@extundo.com>
+
+ * message.el (message-idna-to-ascii-rhs-1): Reformat.
+
2005-09-27 Arne J\e,Ax\e(Brgensen <arne@arnested.dk>
* message.el (message-remove-duplicates): New function.
(let ((field (message-fetch-field header))
rhs ace address)
(when field
- (dolist (rhs
+ (dolist (rhs
(message-remove-duplicates
(mapcar (lambda (rhs) (or (cadr (split-string rhs "@")) ""))
(mapcar 'downcase
- (mapcar 'car (mail-header-parse-addresses field))))))
+ (mapcar
+ 'car (mail-header-parse-addresses field))))))
(setq ace (downcase (idna-to-ascii rhs)))
(when (and (not (equal rhs ace))
(or (not (eq message-use-idna 'ask))
- (y-or-n-p (format "Replace %s with %s in %s:? " rhs ace header))))
+ (y-or-n-p (format "Replace %s with %s in %s:? "
+ rhs ace header))))
(goto-char (point-min))
(while (re-search-forward (concat "^" header ":") nil t)
(message-narrow-to-field)