view move-if-change @ 102480:c50bd87f030b

(Fset_fontset_font): When a font for ASCII is changed, modify the default font of frames that use this fontset. (num_auto_fontsets): New variable. (fontset_from_font): Use num_auto_fontsets to decide a fontset name. Be sure to set FONTSET_ASCII to the correct font name. (update_auto_fontset_alist): New function.
author Kenichi Handa <handa@m17n.org>
date Wed, 11 Mar 2009 07:51:33 +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