Mercurial > emacs
view move-if-change @ 55939:fb2c1d5537f3
Merge the two `Commentary' sections.
(locate-ls-subdir-switches): New user option.
(locate): Update for other changes.
(locate-mode-map): Restore Dired binding for mouse-2.
Bind `locate-mouse-view-file' to M-mouse-2.
Bind `l' to `locate-do-redisplay'.
(locate-main-listing-line-p, locate-do-redisplay): New functions.
(locate-mouse-view-file, locate-tags, locate-find-directory):
Print message if used outside main listing.
(locate-mode): Update docstring. Make `*Locate*' buffer read-only.
Various changes to support inserted subdirectories.
(locate-insert-header): Change header of *Locate* buffer.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Sun, 06 Jun 2004 02:29:18 +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