(locate): Put point at first matching file rather than top of buffer.

This commit is contained in:
Richard M. Stallman 2001-11-28 13:08:40 +00:00
parent 7e6b76ac19
commit bca3a805d5

View file

@ -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)
)
)