Mercurial > emacs
view move-if-change @ 47496:4f825dbb49f7
(menu-bar-last-search-type): New var.
(nonincremental-repeat-search-forward)
(nonincremental-repeat-search-backward): Repeat string or
regexp search depending on menu-bar-last-search-type.
(nonincremental-search-forward, nonincremental-re-search-forward)
(nonincremental-search-backward, nonincremental-re-search-backward):
Set menu-bar-last-search-type to string or regexp.
(nonincremental-repeat-re-search-forward): Removed.
(nonincremental-repeat-re-search-backward): Removed.
(menu-bar-replace-menu): New keymap for "Edit->Replace" submenu.
(menu-bar-i-search-menu): New keymap for "Incremental Search" submenu.
(menu-bar-adv-search-menu): Removed.
(menu-bar-search-menu): Reorganized.
(menu-bar-edit-menu): Added "Replace" submenu.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 15 Sep 2002 21:35:23 +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