Function: gnus-article-highlight-signature
gnus-article-highlight-signature is an autoloaded, interactive and
byte-compiled function defined in gnus-art.el.gz.
Signature
(gnus-article-highlight-signature)
Documentation
Highlight the signature in an article.
It does this by highlighting everything after
gnus-signature-separator using the face gnus-signature.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-art.el.gz
(defun gnus-article-highlight-signature ()
"Highlight the signature in an article.
It does this by highlighting everything after
`gnus-signature-separator' using the face `gnus-signature'."
(interactive nil gnus-article-mode gnus-summary-mode)
(gnus-with-article-buffer
(save-restriction
(when (and gnus-signature-face
(gnus-article-narrow-to-signature))
(overlay-put (make-overlay (point-min) (point-max) nil t)
'face gnus-signature-face)
(widen)
(gnus-article-search-signature)
(let ((start (match-beginning 0))
(end (set-marker (make-marker) (1+ (match-end 0)))))
(gnus-article-add-button start (1- end) 'gnus-signature-toggle
end))))))