]> git.eshelyaron.com Git - emacs.git/commitdiff
(locate-mode): Use run-mode-hooks.
authorLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 13:04:16 +0000 (13:04 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 13:04:16 +0000 (13:04 +0000)
lisp/locate.el

index 42463a160fac1313f9add7167e7be0844c590bc2..30a6ff41df398a85863113365ccdf03637a7ccff 100644 (file)
@@ -393,7 +393,7 @@ do not work in subdirectories.
   (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))