# HG changeset patch # User Lute Kamstra # Date 1117112656 0 # Node ID 86807c2c8e61f4767c8acec885736136153c382e # Parent ff8adc9b90d00d0163ccf82d2fdeb3ea5452656f (locate-mode): Use run-mode-hooks. diff -r ff8adc9b90d0 -r 86807c2c8e61 lisp/locate.el --- 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))