From: Lute Kamstra Date: Thu, 26 May 2005 13:01:03 +0000 (+0000) Subject: (Info-mode, Info-edit-mode): Use run-mode-hooks. X-Git-Tag: emacs-pretest-22.0.90~9555 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d39f149d73929309b1605753b5805d6cb4f34019;p=emacs.git (Info-mode, Info-edit-mode): Use run-mode-hooks. --- diff --git a/lisp/info.el b/lisp/info.el index cfb44cb18f1..0747245f41b 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -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.