Function: log-edit-changelog-paragraph

log-edit-changelog-paragraph is a byte-compiled function defined in log-edit.el.gz.

Signature

(log-edit-changelog-paragraph)

Documentation

Return the bounds of the ChangeLog paragraph containing point.

If we are between paragraphs, return the previous paragraph.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/log-edit.el.gz
(defun log-edit-changelog-paragraph ()
  "Return the bounds of the ChangeLog paragraph containing point.
If we are between paragraphs, return the previous paragraph."
  (beginning-of-line)
  (if (looking-at "^[ \t]*$")
      (skip-chars-backward " \t\n" (point-min)))
  (list (progn
          (if (re-search-backward "^[ \t]*\n" nil 'or-to-limit)
              (goto-char (match-end 0)))
          (point))
        (if (re-search-forward "^[ \t\n]*$" nil t)
            (match-beginning 0)
          (point-max))))