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