]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-mode, Info-edit-mode): Use run-mode-hooks.
authorLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 13:01:03 +0000 (13:01 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 13:01:03 +0000 (13:01 +0000)
lisp/info.el

index cfb44cb18f1f3758dadfdebf741c7c23061e5856..0747245f41be3027ba44df9f396e7bf5720fabfc 100644 (file)
@@ -3259,7 +3259,7 @@ Advanced commands:
   (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 @@ which returns to Info mode for browsing.
   (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.