Function: gnus-treat-from-picon

gnus-treat-from-picon is an autoloaded, interactive and byte-compiled function defined in gnus-picon.el.gz.

Signature

(gnus-treat-from-picon)

Documentation

Display picons in the From header.

If picons are already displayed, remove them.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-picon.el.gz
;;; Commands:

;; #### NOTE: the test for buffer-read-only is the same as in
;; article-display-[x-]face. See the comment up there.

;;;###autoload
(defun gnus-treat-from-picon ()
  "Display picons in the From header.
If picons are already displayed, remove them."
  (interactive nil gnus-article-mode gnus-summary-mode)
  (let ((wash-picon-p buffer-read-only))
    (gnus-with-article-buffer
     (if (and wash-picon-p (memq 'from-picon gnus-article-wash-types))
	 (gnus-delete-images 'from-picon)
       (gnus-picon-transform-address "from" 'from-picon)))))