Mercurial > emacs
view move-if-change @ 49309:c033d9bff1cc
(kill-new, kill-append, kill-region): New optional parameter yank-handler.
(yank-excluded-properties): Add yank-handler to list.
(yank-undo-function): New variable.
(yank): Use it to undo previous yank or yank-pop command.
Allow insert-for-yank to override this-command.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sat, 18 Jan 2003 23:34:14 +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