Mercurial > emacs
comparison src/process.h @ 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 | 256dd50b2a63 |
children | 417b1e4d63cd 7df2e30d72ec |
comparison
equal
deleted
inserted
replaced
112038:ad2a8fce0d7a | 112039:2fef20daac2b |
---|