Mercurial > emacs
diff COPYING @ 112039:2fef20daac2b
* doc-view.el (doc-view-set-doc-type): New function refactored
from doc-view-mode.
(doc-view-fallback-mode): New function.
(doc-view-mode): Use it.
(doc-view-mode-maybe): New function that checks if doc-view-mode
can be used and falls back to the next best mode otherwise.
* files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
DVI, OpenDocument, and MS Office files.
author | Tassilo Horn <tassilo@member.fsf.org> |
---|---|
date | Thu, 30 Dec 2010 19:08:18 +0100 |
parents | ced73eea562f |
children |