Allow org-src edit buffer to be used in read-only mode
commitd1b8b347fec1a3843354fa8f8e8733f329e9d4c2
authorDan Davison <davison@stats.ox.ac.uk>
Thu, 22 Apr 2010 21:37:35 +0000 (22 17:37 -0400)
committerEric Schulte <schulte.eric@gmail.com>
Fri, 23 Apr 2010 16:10:01 +0000 (23 10:10 -0600)
tree5d8d8a497891ef2b1caf59caa153758953edbfdc
parent2f71d79e5eac579ccc88cee96aecbeca9c33f957
Allow org-src edit buffer to be used in read-only mode

org-edit-src-code gains extra optional arguments `code' and
`edit-buffer-name'. If `code' is supplied, then this code forms the
contents of the edit buffer, which is made read-only. In this case,
the mechanisms for writing back to the org buffer on save are
disabled.

Optional argument `edit-buffer-name' allows a name for the edit buffer
to be supplied.
lisp/ChangeLog
lisp/org-src.el