view move-if-change @ 76774:a98404fc2d91

(PC-do-completion-end): New variable. (partial-completion-mode) <choose-completion-string-functions>: Use PC-do-completion-end in the non-minibuffer case to replace the correct amount of text. (PC-do-completion): Set PC-do-completion-end for c-c-s-f. (PC-lisp-complete-symbol): Give marker the after-insertion type, to deal with improvements inserted after point.
author Glenn Morris <rgm@gnu.org>
date Wed, 28 Mar 2007 03:28:49 +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