From bca3a805d5579581e24112b2ad58cd82a7fdc3a7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 28 Nov 2001 13:08:40 +0000 Subject: [PATCH] (locate): Put point at first matching file rather than top of buffer. --- lisp/locate.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/locate.el b/lisp/locate.el index 6d5967a5750..12eb08a0326 100644 --- a/lisp/locate.el +++ b/lisp/locate.el @@ -240,6 +240,7 @@ With prefix arg, prompt for the locate command to run." (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) ) ) -- 2.39.5