org-footnote.el: Fix bug when using `electric-indent-mode'
commitb425e2a2d6277d59749dcd7ce04336092eeaaeae
authorBastien Guerry <bzg@altern.org>
Sat, 26 Jan 2013 12:40:18 +0000 (26 13:40 +0100)
committerBastien Guerry <bzg@altern.org>
Sat, 26 Jan 2013 12:40:18 +0000 (26 13:40 +0100)
tree155c522f16bc5256ba4d17e6f6f857d783d4ae64
parenta5ed80fb32e6d1495bafeef0e3e05fd8a968c62e
org-footnote.el: Fix bug when using `electric-indent-mode'

* org-footnote.el (org-footnote-create-definition): Prevent
`electric-indent-mode' from inserting the definition at the
wrong place.

Thanks to Xue Fuqiao for reporting this bug.
lisp/org-footnote.el