summaryrefslogtreecommitdiff
path: root/lisp/locate.el
diff options
context:
space:
mode:
authorLute Kamstra <lute@gnu.org>2005-05-26 13:04:16 +0000
committerLute Kamstra <lute@gnu.org>2005-05-26 13:04:16 +0000
commit9b5e13c4f823dd20dac201a1f9a6b691d9a496bd (patch)
tree14045b486c3c19af850a4eb1c2d603d3b8340a30 /lisp/locate.el
parent32173724d450978b7e868517dde314a5ae46aafb (diff)
downloademacs-9b5e13c4f823dd20dac201a1f9a6b691d9a496bd.tar.gz
(locate-mode): Use run-mode-hooks.
Diffstat (limited to 'lisp/locate.el')
-rw-r--r--lisp/locate.el2
1 files changed, 1 insertions, 1 deletions
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))