mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(locate): Put point at first matching file rather than top of buffer.
This commit is contained in:
parent
7e6b76ac19
commit
bca3a805d5
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue