Function: majutsu-jjdescription--message-region-end

majutsu-jjdescription--message-region-end is a natively compiled function defined in majutsu-jjdescription.el.

Signature

(majutsu-jjdescription--message-region-end)

Documentation

Return the end of the replaceable description region.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-jjdescription.el
;;; History Support

(defun majutsu-jjdescription--message-region-end ()
  "Return the end of the replaceable description region."
  (save-excursion
    (goto-char (point-min))
    (if (re-search-forward (majutsu-jjdescription--comment-line-re) nil t)
        (let ((beg (match-beginning 0)))
          (if (and (> beg (point-min))
                   (eq (char-before beg) ?\n))
              (1- beg)
            beg))
      (point-max))))