diff options
| author | Richard M. Stallman | 2001-11-28 13:08:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-11-28 13:08:40 +0000 |
| commit | bca3a805d5579581e24112b2ad58cd82a7fdc3a7 (patch) | |
| tree | 8b9c1d8abff2388829a9c92a4a2ee8801156892b | |
| parent | 7e6b76ac19c26287bb3e972abe003200425c60da (diff) | |
| download | emacs-bca3a805d5579581e24112b2ad58cd82a7fdc3a7.tar.gz emacs-bca3a805d5579581e24112b2ad58cd82a7fdc3a7.zip | |
(locate): Put point at first matching file rather than top of buffer.
| -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." | |||
| 240 | (switch-to-buffer-other-window locate-buffer-name)) | 240 | (switch-to-buffer-other-window locate-buffer-name)) |
| 241 | 241 | ||
| 242 | (run-hooks 'dired-mode-hook) | 242 | (run-hooks 'dired-mode-hook) |
| 243 | (dired-next-line 2) ;move to first matching file. | ||
| 243 | (run-hooks 'locate-post-command-hook) | 244 | (run-hooks 'locate-post-command-hook) |
| 244 | ) | 245 | ) |
| 245 | ) | 246 | ) |