Mercurial > emacs
view move-if-change @ 86232:74f276f67957
(custom-field-keymap): Move to other Custom mode
keymaps such that it's before the definition of Custom-mode-menu.
(Custom-mode-menu): Show it for custom-field-keymap too.
author | Martin Rudalics <rudalics@gmx.at> |
---|---|
date | Mon, 19 Nov 2007 07:50:04 +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