view move-if-change @ 30161:8be2bf27e9ad

(make_current): Preserve the mouse_face_p flag of the current glyph row. (update_window_line): Add parameter MOUSE_FACE_OVERWRITTEN_P. Set it when any row is written to that contains glyphs highlighted in mouse-face. (update_window): Call the window update end hook with new parameter MOUSE_FACE_OVERWRITTEN_P. (direct_output_for_insert): Give up if row contains mouse-face.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 12 Jul 2000 15:10:30 +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