org-src: Fix editing remotely empty footnote definitions
commit21b6b1d9a297f580978dd1b7b9a3468ac2cadc85
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 27 Apr 2015 22:22:20 +0000 (28 00:22 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 27 Apr 2015 22:22:20 +0000 (28 00:22 +0200)
tree9acb5c950f982d46807cee055a0dc20590553b61
parent7b8dacc34848e04c99376dd7d1e56cadfe6c6273
org-src: Fix editing remotely empty footnote definitions

* lisp/org-src.el (org-src--element-contents-area):
(org-edit-footnote-reference): Take into consideration
that :contents-begin and :contents-end may be nil.

Reported-by: Rasmus <rasmus@gmx.us>
<http://permalink.gmane.org/gmane.emacs.orgmode/97262>
lisp/org-src.el