Function: mh-folder-font-lock-subject

mh-folder-font-lock-subject is a byte-compiled function defined in mh-folder.el.gz.

Signature

(mh-folder-font-lock-subject LIMIT)

Documentation

Return MH-E scan subject strings to font-lock between point and LIMIT.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-folder.el.gz
(defun mh-folder-font-lock-subject (limit)
  "Return MH-E scan subject strings to font-lock between point and LIMIT."
  (if (not (re-search-forward mh-scan-subject-regexp limit t))
      nil
    (if (match-beginning 1)
        (set-match-data (list (match-beginning 1) (match-end 3)
                              (match-beginning 1) (match-end 3) nil nil))
      (set-match-data (list (match-beginning 3) (match-end 3)
                            nil nil (match-beginning 3) (match-end 3))))
    t))