view move-if-change @ 83537:c19f348befac

Fix F10 behaviour. (Reported by Bernard Adrian.) * src/xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from Fmenu_bar_open. (syms_of_xmenu): Update defsubr. * lisp/menu-bar.el (menu-bar-open): New function. Bind it to f10. * lisp/term/x-win.el: Don't bind f10. * lisp/tmm.el: Remove autoload binding for f10. * lisp/ldefs-boot.el: Regenerate. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-577
author Karoly Lorentey <lorentey@elte.hu>
date Sat, 29 Jul 2006 20:57:26 +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