Remove gnus-article-wash-function, and use `mm-text-html-renderer'
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Wed, 20 Oct 2010 16:44:36 +0000 (18:44 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Wed, 20 Oct 2010 16:44:36 +0000 (18:44 +0200)
instead.

lisp/ChangeLog
lisp/gnus-art.el
texi/gnus.texi

index 33e55c6..4723681 100644 (file)
@@ -2,6 +2,7 @@
 
        * gnus-art.el (gnus-blocked-images): New function.  Allow the
        `gnus-blocked-images' to be a function.
+       (gnus-article-wash-function): Removed.
 
 2010-10-20  Julien Danjou  <julien@danjou.info>
 
index f42838d..cf39176 100644 (file)
@@ -1621,9 +1621,6 @@ It is a string, such as \"PGP\". If nil, ask user."
   :type 'string
   :group 'mime-security)
 
-(defvar gnus-article-wash-function nil
-  "Function used for converting HTML into text.")
-
 (defcustom gnus-use-idna (and (condition-case nil (require 'idna) (file-error))
                              (mm-coding-system-p 'utf-8)
                              (executable-find idna-program))
@@ -2732,7 +2729,7 @@ charset defined in `gnus-summary-show-article-charset-alist' is used."
       (save-window-excursion
        (save-restriction
          (narrow-to-region (point) (point-max))
-         (let* ((func (or gnus-article-wash-function mm-text-html-renderer))
+         (let* ((func mm-text-html-renderer)
                 (entry (assq func mm-text-html-washer-alist)))
            (when entry
              (setq func (cdr entry)))
index 337e85c..7242f60 100644 (file)
@@ -9803,13 +9803,10 @@ If a prefix is given, a charset will be asked for.  If it is a number,
 the charset defined in @code{gnus-summary-show-article-charset-alist}
 (@pxref{Paging the Article}) will be used.
 
-@vindex gnus-article-wash-function
 The default is to use the function specified by
 @code{mm-text-html-renderer} (@pxref{Display Customization, ,Display
 Customization, emacs-mime, The Emacs MIME Manual}) to convert the
-@acronym{HTML}, but this is controlled by the
-@code{gnus-article-wash-function} variable.  Pre-defined functions you
-can use include:
+@acronym{HTML}.  Pre-defined functions you can use include:
 
 @table @code
 @item mm-shr