changeset 41629:9dccfa8cdcc6

(locate): Put point at first matching file rather than top of buffer.
author Richard M. Stallman <rms@gnu.org>
date Wed, 28 Nov 2001 13:08:40 +0000
parents 27b02e9f87e3
children b24292e7f5ad
files lisp/locate.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/locate.el	Wed Nov 28 13:07:09 2001 +0000
+++ b/lisp/locate.el	Wed Nov 28 13:08:40 2001 +0000
@@ -240,6 +240,7 @@
 	(switch-to-buffer-other-window locate-buffer-name))
 
     (run-hooks 'dired-mode-hook)
+    (dired-next-line 2)			;move to first matching file.
     (run-hooks 'locate-post-command-hook)
     )
   )