diff options
author | Tassilo Horn <tassilo@member.fsf.org> | 2010-12-30 19:08:18 +0100 |
---|---|---|
committer | Tassilo Horn <tassilo@member.fsf.org> | 2010-12-30 19:08:18 +0100 |
commit | 291cc04566397aa80f1d8c4ff92abbf656fc4512 (patch) | |
tree | aea2d142023720c18cbe20e1bd068dcda81f9d5f /doc | |
parent | 8ee2dc5cffd4b79007058f28dbf8fb10f02e462a (diff) | |
download | emacs-291cc04566397aa80f1d8c4ff92abbf656fc4512.tar.gz |
* 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.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions