summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTassilo Horn <tassilo@member.fsf.org>2010-12-30 19:08:18 +0100
committerTassilo Horn <tassilo@member.fsf.org>2010-12-30 19:08:18 +0100
commit291cc04566397aa80f1d8c4ff92abbf656fc4512 (patch)
treeaea2d142023720c18cbe20e1bd068dcda81f9d5f /doc
parent8ee2dc5cffd4b79007058f28dbf8fb10f02e462a (diff)
downloademacs-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