Mercurial > emacs
view move-if-change @ 39329:52983980d01d
(try_window_id) [!GLYPH_DEBUG]: Give up if
first_unchanged_at_end_row is in front of
last_unchanged_at_beg_row. This code should be removed after the
release of 21.1.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 18 Sep 2001 10:30:35 +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