Mercurial > emacs
view move-if-change @ 85369:5b96a46cc08a
* 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.
author | Reiner Steib <Reiner.Steib@gmx.de> |
---|---|
date | Wed, 17 Oct 2007 21:34:19 +0000 |
parents | 354e0c45cedf |
children | 14a97ab281d5 |
line wrap: on
line source
#!/bin/sh if test -r $2 then if cmp $1 $2 > /dev/null then echo $2 is unchanged rm -f $1 else mv -f $1 $2 fi else mv -f $1 $2 fi