view move-if-change @ 111614:31f67bce5645

Fix picture-mouse-set-point calculation (Bug#7390). * lisp/textmodes/picture.el (picture-mouse-set-point): Don't use posn-col-row; explicitly compute the motion based on the posn at the window-start (Bug#7390).
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 13 Nov 2010 16:01:10 -0500
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