Mercurial > emacs
view move-if-change @ 65527:1b029723f4d8
(move_it_vertically): Don't try to fetch byte BEGV-1.
(reseat_at_next_visible_line_start): Likewise (in xassert).
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 15 Sep 2005 12:06:39 +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