]> git.eshelyaron.com Git - emacs.git/commit
Improve viewing plain text contents of document
authorTassilo Horn <tsdh@gnu.org>
Wed, 22 Oct 2014 13:30:16 +0000 (15:30 +0200)
committerTassilo Horn <tsdh@gnu.org>
Wed, 22 Oct 2014 13:30:16 +0000 (15:30 +0200)
commit36749d80256f49ac10860405b95fe319012c3b91
treeb69838ad4de84b8bf001a38451a449da6e917072
parent8ae9147a6c6b2e8ebe04610aee4d4aea04d89b2d
Improve viewing plain text contents of document

* doc/emacs/misc.texi (Document View): Adapt to latest doc-view changes wrt
viewing the document's plain text contents.

* lisp/doc-view.el (doc-view-open-text): View the document's plain text
in the current buffer instead of a new one.
(doc-view-toggle-display): Handle the case where the current
buffer contains the plain text contents of the document.
(doc-view-initiate-display): Don't switch to fallback mode if the
user wants to view the doc's plain text.
(doc-view-set-doc-type): Use assoc-string instead of
assoc-ignore-case.
doc/emacs/ChangeLog
doc/emacs/misc.texi
lisp/ChangeLog
lisp/doc-view.el