Function: gnus-article-treat-fold-headers

gnus-article-treat-fold-headers is an autoloaded, interactive and byte-compiled function defined in gnus-art.el.gz.

Signature

(gnus-article-treat-fold-headers)

Documentation

Fold message headers.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-art.el.gz
(defun gnus-article-treat-fold-headers ()
  "Fold message headers."
  (interactive nil gnus-article-mode gnus-summary-mode)
  (gnus-with-article-headers
    (while (not (eobp))
      (save-restriction
	(mail-header-narrow-to-field)
        (if (not (gnus--variable-pitch-p (get-text-property (point) 'face)))
	    (mail-header-fold-field)
          (forward-char 1)
          (pixel-fill-region (point) (point-max) (pixel-fill-width)))
	(goto-char (point-max))))))