org-footnote: Fix type error when creating a new footnote
commit8f394624b8e160ccd6c1a5726c180ff9e8a0ff20
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 4 May 2015 07:38:32 +0000 (4 09:38 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 4 May 2015 07:38:32 +0000 (4 09:38 +0200)
tree89f59191bf65552c6c2df88c564e7deb16a4c9fd
parentc8e3873a5efc68f62304e376aef031137542f0be
org-footnote: Fix type error when creating a new footnote

* lisp/org-footnote.el (org-footnote-get-definition): Fix type error
  when creating a new footnote.

When footnote definition is new, contents are nil.
lisp/org-footnote.el