view move-if-change @ 43269:f4b001827b85

(QCpropertize): New variable. (mode_line_proptrans_alist): New variable. (display_mode_element): New arg PROPS; all calls changed. Implement this, for strings. Handle literal output of strings by sharing the main-line code for strings, using local var `literal'. Handle :propertize feature. (syms_of_xdisp): Initialze and staticpro QCpropertize and mode_line_proptrans_alist.
author Richard M. Stallman <rms@gnu.org>
date Wed, 13 Feb 2002 16:15:52 +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