Function: org-back-over-empty-lines

org-back-over-empty-lines is a byte-compiled function defined in org.el.gz.

Signature

(org-back-over-empty-lines)

Documentation

Move backwards over whitespace, to the beginning of the first empty line.

Returns the number of empty lines passed.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-back-over-empty-lines ()
  "Move backwards over whitespace, to the beginning of the first empty line.
Returns the number of empty lines passed."
  (let ((pos (point)))
    (if (cdr (assq 'heading org-blank-before-new-entry))
	(skip-chars-backward " \t\n\r")
      (unless (eobp)
	(forward-line -1)))
    (forward-line 1)
    (goto-char (min (point) pos))
    (count-lines (point) pos)))