Commit 640602f7 authored by Reiner Steib's avatar Reiner Steib
Browse files

* bindings.el (completion-ignored-extensions): Remove pdf and dvi

extensions since they can be viewed with doc-view.

* files.el (auto-mode-alist): Make doc-view-mode the default mode
for pdf, ps and dvi files.

* doc-view.el: Make doc-view-mode the standard mode for viewing
pdf, [e]ps and dvi files and add binding C-c C-c to toggle between
text and image display.  Add binding C-c C-e to switch to an
editing mode.
(doc-view-ghostscript-options, doc-view-ps->pdf): Add "-dSAFER" to
avoid security problems when rendering files untrusted sources.
parent 57581fcc
2007-10-17 Tassilo Horn <tassilo@member.fsf.org>
* bindings.el (completion-ignored-extensions): Remove pdf and dvi
extensions since they can be viewed with doc-view.
* files.el (auto-mode-alist): Make doc-view-mode the default mode
for pdf, ps and dvi files.
* doc-view.el: Make doc-view-mode the standard mode for viewing
pdf, [e]ps and dvi files and add binding C-c C-c to toggle between
text and image display. Add binding C-c C-e to switch to an
editing mode.
(doc-view-ghostscript-options, doc-view-ps->pdf): Add "-dSAFER" to
avoid security problems when rendering files untrusted sources.
2007-10-17 Aaron Hawley <aaronh@garden.org>
* tutorial.el (tutorial--save-tutorial): Display message when tutorial
......
......@@ -536,7 +536,7 @@ is okay. See `mode-line-format'.")
'(".elc" ".lof"
".glo" ".idx" ".lot"
;; TeX-related
".dvi" ".fmt" ".tfm" ".pdf"
".fmt" ".tfm"
;; Java compiled
".class"
;; CLISP
......
This diff is collapsed.
......@@ -2059,7 +2059,7 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'" . archive-mode)
("\\.\\(as\\|mi\\|sm\\)2\\'" . snmpv2-mode)
("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode)
("\\.\\(dif\\|pat\\)\\'" . diff-mode) ; for MSDOG
("\\.[eE]?[pP][sS]\\'" . ps-mode)
("\\(?:DVI\\|EPS\\|P\\(?:DF\\|S\\)\\|dvi\\|eps\\|p\\(?:df\\|s\\)\\)" . doc-view-mode)
("configure\\.\\(ac\\|in\\)\\'" . autoconf-mode)
("BROWSE\\'" . ebrowse-tree-mode)
("\\.ebrowse\\'" . ebrowse-tree-mode)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment