# HG changeset patch # User Lute Kamstra # Date 1117112463 0 # Node ID 545cba9e95d48050ad82966556996be7b3624a7c # Parent 8c8cb4cd8909679e7ab82de7c920292cb7840936 (Info-mode, Info-edit-mode): Use run-mode-hooks. diff -r 8c8cb4cd8909 -r 545cba9e95d4 lisp/info.el --- a/lisp/info.el Thu May 26 12:58:00 2005 +0000 +++ b/lisp/info.el Thu May 26 13:01:03 2005 +0000 @@ -3259,7 +3259,7 @@ (set (make-local-variable 'search-whitespace-regexp) Info-search-whitespace-regexp) (Info-set-mode-line) - (run-hooks 'Info-mode-hook)) + (run-mode-hooks 'Info-mode-hook)) ;; When an Info buffer is killed, make sure the associated tags buffer ;; is killed too. @@ -3301,7 +3301,7 @@ (setq buffer-read-only nil) (force-mode-line-update) (buffer-enable-undo (current-buffer)) - (run-hooks 'Info-edit-mode-hook)) + (run-mode-hooks 'Info-edit-mode-hook)) (defun Info-edit () "Edit the contents of this Info node.