org-src: Allow to edit inline footnote references
commit9e52d2ed012cf25a66a9a3d1100510974219f967
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 2 May 2015 06:37:37 +0000 (2 08:37 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 2 May 2015 14:45:51 +0000 (2 16:45 +0200)
treebae03c81cc653ef938631e603de085acdaa0ea7d
parentf8d1d373fcbcbd6642555de6b2c52c55d1f318c1
org-src: Allow to edit inline footnote references

* lisp/org-src.el (org-src--edit-element): Do not rely on :value to
  extract contents.  Small refactoring.
(org-src--contents-area): Renamed from
  `org-src--element-contents-area'.  Throw an error on unknown
  elements.
(org-src--on-datum-p): Rename from `org-src--on-element-p'.  Handle
objects.
(org-edit-export-block, org-edit-src-code,
org-edit-fixed-width-region, org-edit-table.el): Apply renaming.
(org-edit-src-save, org-edit-src-exit): Handle inline text.
(org-edit-src-exit): Allow empty or blank code.  Handle inline text.
(org-src--edit-element): Rename an argument
(org-edit-footnote-reference): Allow to edit inline definitions.

* etc/ORG-NEWS: Document new feature.
etc/ORG-NEWS
lisp/org-src.el