comparison lib-src/ntlib.c @ 85801:9b97166d0c6c

(doc-view-current-doc): Remove. Replace all uses by buffer-file-name. (doc-view-menu): New menu. (doc-view-reconvert-doc): Don't bind inhibit-read-only. Remove unused `doc'. (doc-view-sort): Simplify. (doc-view-buffer-message): Don't change buffer-modified-p. (doc-view-mode): Change it here instead. Tighten scoping of prev-major-mode. Don't re-insert the file's content. Don't modify the global value of revert-buffer-function.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 30 Oct 2007 17:45:41 +0000
parents 1f2482de3237
children 5714ff101fd9 f55f9811f5d7
comparison
equal deleted inserted replaced
85800:0810efbbb396 85801:9b97166d0c6c