view move-if-change @ 73245:29e3148cc7f9

* textmodes/org.el (org-rm-props, org-activate-plain-links) (org-activate-angle-links, org-activate-dates) (org-activate-target-links, org-activate-camels) (org-activate-tags): Add `rear-nonsticky' text property to avoid textproperty keymaps from being active beyond the end of a line. (org-unfontify-region): Also remove `rear-nonsticky' property.
author Carsten Dominik <dominik@science.uva.nl>
date Wed, 04 Oct 2006 13:13:27 +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