changeset 62735:86807c2c8e61

(locate-mode): Use run-mode-hooks.
author Lute Kamstra <lute@gnu.org>
date Thu, 26 May 2005 13:04:16 +0000
parents ff8adc9b90d0
children 76864fc0acf0
files lisp/locate.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/locate.el	Thu May 26 13:02:42 2005 +0000
+++ b/lisp/locate.el	Thu May 26 13:04:16 2005 +0000
@@ -393,7 +393,7 @@
   (make-local-variable 'revert-buffer-function)
   (setq revert-buffer-function 'locate-update)
   (set (make-local-variable 'page-delimiter) "\n\n")
-  (run-hooks 'locate-mode-hook))
+  (run-mode-hooks 'locate-mode-hook))
 
 (defun locate-do-setup (search-string)
   (goto-char (point-min))