Mercurial > emacs
view move-if-change @ 54711:12ff04cae768
Various small changes in addition to:
(Making Backups): Mention return value of `backup-buffer'.
(Auto-Saving): Mention optional FORCE argument to
`delete-auto-save-file-if-necessary'.
(Reverting): Mention optional PRESERVE-MODES argument to `revert-buffer'.
Correct description of `revert-buffer-function'.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Mon, 05 Apr 2004 01:28:57 +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