Function: org-mouse-next-heading

org-mouse-next-heading is a byte-compiled function defined in org-mouse.el.gz.

Signature

(org-mouse-next-heading)

Documentation

Go to the next heading.

If there is none, ensure that the point is at the beginning of an empty line.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-mouse.el.gz
(defun org-mouse-next-heading ()
  "Go to the next heading.
If there is none, ensure that the point is at the beginning of an empty line."
  (unless (outline-next-heading)
    (forward-line 0)
    (unless (org-mouse-empty-line)
      (end-of-line)
      (newline))))