Function: org-footnote--goto-local-insertion-point

org-footnote--goto-local-insertion-point is a byte-compiled function defined in org-footnote.el.gz.

Signature

(org-footnote--goto-local-insertion-point)

Documentation

Find insertion point for footnote, just before next outline heading.

Assume insertion point is within currently accessible part of the buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-footnote.el.gz
(defun org-footnote--goto-local-insertion-point ()
  "Find insertion point for footnote, just before next outline heading.
Assume insertion point is within currently accessible part of the buffer."
  (org-with-limited-levels (outline-next-heading))
  (skip-chars-backward " \t\n")
  (unless (bobp) (forward-line))
  (unless (bolp) (insert "\n")))