Mercurial > emacs
view move-if-change @ 99326:100dbcced8f3
(save-selected-window-norecord): New macro
(walk-windows): Use save-selected-window-norecord and call
select-window with NORECORD set. (Bug#1237)
(set-window-text-height, fit-window-to-buffer): Use
save-selected-window-norecord and call select-window with
NORECORD set.
author | Martin Rudalics <rudalics@gmx.at> |
---|---|
date | Sun, 02 Nov 2008 11:02:24 +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