瀏覽代碼

Footnotes: Fix another minor bug.

Carsten Dominik 16 年之前
父節點
當前提交
33403545ed
共有 1 個文件被更改,包括 1 次插入0 次删除
  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