org-footnote: Better blank lines control when inserting a footnote
commitd10792510f8eed98bd342b6dbe974bd781bc8ecc
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 2 Feb 2012 20:02:18 +0000 (2 21:02 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 2 Feb 2012 20:22:17 +0000 (2 21:22 +0100)
treee7e55c7a0d9112f15085579686e91f91f587fce1
parentacd743bdc0a42ce2935e67e15a1da49ca5fa4416
org-footnote: Better blank lines control when inserting a footnote

* lisp/org-footnote.el (org-footnote-create-definition): Fix space
  insertion when creating a new footnote. This fixes newline munching
  when `org-footnote-section' is nil and blank lines stacking when it
  isn't nil.

Thanks to Eric Abrahamsen for reporting this.
lisp/org-footnote.el