Mercurial > emacs
view move-if-change @ 61473:496c7a7bdacc
Doc fixes.
(wdired-confirm-overwrite): Rename from wdired-is-ok-overwrite.
(wdired-use-dired-vertical-movement): Rename from
wdired-always-move-to-filename-beginning.
(wdired-mode-map): Use `ignore' instead of `wdired-newline'.
(wdired-change-to-wdired-mode): Change mode name.
(wdired-newline): Delete.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 11 Apr 2005 19:01:17 +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