]> git.neil.brown.name Git - edlib.git/commit
Discard doc_get_pane() in favour of doc_from_pane()
authorNeilBrown <neil@brown.name>
Fri, 27 Nov 2015 01:13:30 +0000 (12:13 +1100)
committerNeilBrown <neil@brown.name>
Fri, 27 Nov 2015 01:13:30 +0000 (12:13 +1100)
commit130132870e275a90d13017e69ba2ca2a2fa96d10
tree37db5e85e117a3f4a070f136673f6fd1e71598ba
parent6f5692eb628aea173d393cbf934b20a175a124b2
Discard doc_get_pane() in favour of doc_from_pane()

The pane was (almost) never used other than to extract the document,
so just return the document.

This will allow us to change the ->data stored on a document pane.

Signed-off-by: NeilBrown <neil@brown.name>
12 files changed:
core-doc.c
core.h
doc-dir.c
emacs-search.c
lib-line-count.c
lib-search.c
lib-view.c
mode-emacs.c
render-complete.c
render-format.c
render-hex.c
render-lines.c