Mercurial > hg > xemacs-beta
view move-if-change @ 3714:cee87f8de64b
[xemacs-hg @ 2006-11-30 07:29:34 by michaels]
2006-11-28 Mike Sperber <mike@xemacs.org>
* files.el (revert-buffer-internal): Determine the coding system
while still in the original buffer, rather than the new one.
author | michaels |
---|---|
date | Thu, 30 Nov 2006 07:29:36 +0000 |
parents | 376386a54a3c |
children |
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