From 9b5e13c4f823dd20dac201a1f9a6b691d9a496bd Mon Sep 17 00:00:00 2001 From: Lute Kamstra Date: Thu, 26 May 2005 13:04:16 +0000 Subject: [PATCH] (locate-mode): Use run-mode-hooks. --- lisp/locate.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/locate.el b/lisp/locate.el index 42463a160fa..30a6ff41df3 100644 --- a/lisp/locate.el +++ b/lisp/locate.el @@ -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)) -- 2.39.2