Function: checkdoc-message-text-search

checkdoc-message-text-search is a byte-compiled function defined in checkdoc.el.gz.

Signature

(checkdoc-message-text-search &optional BEG END)

Documentation

Search between BEG and END for a style error with message text.

Optional arguments BEG and END represent the boundary of the check. The default boundary is the entire buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/checkdoc.el.gz
;;; `error' and `message' text verifier.
;;
(defun checkdoc-message-text-search (&optional beg end)
  "Search between BEG and END for a style error with message text.
Optional arguments BEG and END represent the boundary of the check.
The default boundary is the entire buffer."
  (let ((e nil))
    (if (not (or beg end)) (setq beg (point-min) end (point-max)))
    (goto-char beg)
    (while-let ((type (checkdoc-message-text-next-string end)))
      (setq e (checkdoc-message-text-engine type)))
    e))