Explorar o código

Footnotes: Fix another minor bug.

Carsten Dominik %!s(int64=16) %!d(string=hai) anos
pai
achega
33403545ed
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lisp/org-footnote.el

+ 1 - 0
lisp/org-footnote.el

@@ -381,6 +381,7 @@ referenced sequence."
 	  (goto-char (point-max))
 	  (unless for-preprocessor
 	    (when org-footnote-section
+	      (or (bolp) (insert "\n"))
 	      (insert "* " org-footnote-section "\n")
 	      (setq ins-point (point))))))
        (t