diff lisp/info.el @ 62733:545cba9e95d4

(Info-mode, Info-edit-mode): Use run-mode-hooks.
author Lute Kamstra <lute@gnu.org>
date Thu, 26 May 2005 13:01:03 +0000
parents aabdcfa2f3d6
children 7f11f471aa34
line wrap: on
line diff
--- 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.