Mercurial > emacs
view move-if-change @ 27065:bd4ad2d321a7
(command-history): Renamed from command-history-mode.
(Command-history-setup): Don't switch buffers. Take
no args, and do not set major-mode, mode-name or the local map.
(command-history-mode): New function, does some of those things
Command-history-setup used to do.
(list-command-history): Call command-history-mode, not
Command-history-setup.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 31 Dec 1999 23:41:32 +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