Function: org-mouse-insert-heading
org-mouse-insert-heading is an interactive and byte-compiled function
defined in org-mouse.el.gz.
Signature
(org-mouse-insert-heading)
Documentation
Insert a new heading, as org-insert-heading.
If the point is at the :beginning (org-mouse-line-position) of the line,
insert the new heading before the current line. Otherwise, insert it
after the current heading.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-mouse.el.gz
(defun org-mouse-insert-heading ()
"Insert a new heading, as `org-insert-heading'.
If the point is at the :beginning (`org-mouse-line-position') of the line,
insert the new heading before the current line. Otherwise, insert it
after the current heading."
(interactive)
(cl-case (org-mouse-line-position)
(:beginning (beginning-of-line)
(org-insert-heading))
(t (org-mouse-next-heading)
(org-insert-heading))))