diff options
author | Richard M. Stallman <rms@gnu.org> | 2001-11-28 13:08:40 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2001-11-28 13:08:40 +0000 |
commit | bca3a805d5579581e24112b2ad58cd82a7fdc3a7 (patch) | |
tree | 8b9c1d8abff2388829a9c92a4a2ee8801156892b /lisp/locate.el | |
parent | 7e6b76ac19c26287bb3e972abe003200425c60da (diff) | |
download | emacs-bca3a805d5579581e24112b2ad58cd82a7fdc3a7.tar.gz |
(locate): Put point at first matching file rather than top of buffer.
Diffstat (limited to 'lisp/locate.el')
-rw-r--r-- | lisp/locate.el | 1 |
1 files changed, 1 insertions, 0 deletions
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) ) ) |