Mercurial > emacs
diff lisp/ChangeLog @ 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 | ad2a8fce0d7a |
children | c92bc8723d4b |
line wrap: on
line diff
--- a/lisp/ChangeLog Thu Dec 30 16:15:34 2010 +0100 +++ b/lisp/ChangeLog Thu Dec 30 19:08:18 2010 +0100 @@ -1,3 +1,15 @@ +2010-12-30 Tassilo Horn <tassilo@member.fsf.org> + + * 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. + 2010-12-30 Andreas Schwab <schwab@linux-m68k.org> * emacs-lisp/rx.el (rx-syntax): Fix typo.