From: Lute Kamstra Date: Thu, 26 May 2005 13:04:16 +0000 (+0000) Subject: (locate-mode): Use run-mode-hooks. X-Git-Tag: emacs-pretest-22.0.90~9553 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9b5e13c4f823dd20dac201a1f9a6b691d9a496bd;p=emacs.git (locate-mode): Use run-mode-hooks. --- 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))