diff options
author | Reiner Steib <Reiner.Steib@gmx.de> | 2007-10-17 21:34:19 +0000 |
---|---|---|
committer | Reiner Steib <Reiner.Steib@gmx.de> | 2007-10-17 21:34:19 +0000 |
commit | 640602f766d7431ae40ac5ffa274db405b1c4d7d (patch) | |
tree | 69fe77c0ddc934d842a20916bf7c5e5b404bd2eb /lisp/bindings.el | |
parent | 57581fccfe5e3a879853efe9fb685d45b9c5b63b (diff) | |
download | emacs-640602f766d7431ae40ac5ffa274db405b1c4d7d.tar.gz emacs-640602f766d7431ae40ac5ffa274db405b1c4d7d.tar.bz2 emacs-640602f766d7431ae40ac5ffa274db405b1c4d7d.zip |
* 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.
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r-- | lisp/bindings.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el index bab319fa029..5080eb8c3b0 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -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 |