Parcourir la source

Footnotes: Fix another minor bug.

Carsten Dominik il y a 16 ans
Parent
commit
33403545ed
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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