Use document->cached in the Python scripting backend
commite978853f63dd3babf8984a958c3d50e412a502cc
authorM. Levinson <levinsm@users.sourceforge.net>
Sat, 30 Dec 2006 11:20:30 +0000 (30 11:20 +0000)
committerMiciah Dashiel Butler Masters <miciah@FroodyComp.localdomain>
Sat, 30 Dec 2006 11:20:30 +0000 (30 11:20 +0000)
tree326ecdbbec9c87df6bfda61f05a478e0f9c590e9
parent896cdab771ba94c78d61bdfaf3e6057d82d74804
Use document->cached in the Python scripting backend

As commit 7db8abf6e7ff43f059c4496e734c17337487db2c does for Lua
and the document info box, change the Python scripting backend's
current_document and current_header APIs to use document->cached
instead of find_in_cached so the currently displayed document
will be used rather than the latest version of the document.
src/scripting/python/document.c