emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/gnus/gnus-art.el


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/gnus/gnus-art.el
Date: Fri, 17 Feb 2006 02:38:15 +0000

Index: emacs/lisp/gnus/gnus-art.el
diff -u emacs/lisp/gnus/gnus-art.el:1.106 emacs/lisp/gnus/gnus-art.el:1.107
--- emacs/lisp/gnus/gnus-art.el:1.106   Fri Feb 17 00:24:04 2006
+++ emacs/lisp/gnus/gnus-art.el Fri Feb 17 02:38:14 2006
@@ -2611,19 +2611,19 @@
          ;; Note that the From header is decoded here, so it is
          ;; required that the *-extract-address-components function
          ;; supports non-ASCII text.
-         (article-really-strip-banner
-          (let ((from (save-restriction
-                        (widen)
-                        (article-narrow-to-head)
-                        (mail-fetch-field "from"))))
-            (when (and from
-                       (setq from
-                             (cadr (funcall gnus-extract-address-components
-                                            from))))
-              (catch 'found
-                (dolist (pair gnus-article-address-banner-alist)
-                  (when (string-match (car pair) from)
-                    (throw 'found (cdr pair)))))))))))))
+         (let ((from (save-restriction
+                       (widen)
+                       (article-narrow-to-head)
+                       (mail-fetch-field "from"))))
+           (when (and from
+                      (setq from
+                            (cadr (funcall gnus-extract-address-components
+                                           from))))
+             (catch 'found
+               (dolist (pair gnus-article-address-banner-alist)
+                 (when (string-match (car pair) from)
+                   (throw 'found
+                          (article-really-strip-banner (cdr pair)))))))))))))
 
 (defun article-really-strip-banner (banner)
   "Strip the banner specified by the argument."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]