view move-if-change @ 48349:12d250ace67f

(command_loop_1): Fix int/Lisp_Object mixup. (adjust_point_for_property): Move out of display and invisible even if we were already inside before (in case a property was added while we weren't looking). Be more careful when handling invisible props. Skip invisible text as if it really wasn't there at all. (interrupt_signal): Mark static.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 15 Nov 2002 20:06:03 +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