Mercurial > emacs
view move-if-change @ 96640:970b19b546c0
(change-log-search-file-name): Use match-string-no-properties.
(change-log-search-tag-name-1, change-log-search-tag-name)
(change-log-goto-source-1, change-log-goto-source): New functions.
(change-log-tag-re, change-log-find-head, change-log-find-tail):
New variables.
(change-log-mode-map): Bind C-c C-c to change-log-goto-source.
author | Martin Rudalics <rudalics@gmx.at> |
---|---|
date | Sun, 13 Jul 2008 07:30:48 +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