diff lisp/locate.el @ 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 e9fb112f3550
children c427880038a5
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)
     )
   )