Mercurial > emacs
view move-if-change @ 39240:e2d428b5bfea
(comint-send-input): When waiting for echoed input, don't save the
expected end position in `echo-end', so that things work properly even
if the buffer is modified elsewhere at the same time [this happens if
`comint-truncate-buffer' is used].
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 11 Sep 2001 08:40:08 +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