From cb1b44b04b69fe1afbaf97934954112da9896737 Mon Sep 17 00:00:00 2001
From: Lute Kamstra <lute@gnu.org>
Date: Tue, 14 Jun 2005 12:07:24 +0000
Subject: [PATCH] (inferior-octave-mode): Use delay-mode-hooks.

---
 lisp/progmodes/octave-inf.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/octave-inf.el b/lisp/progmodes/octave-inf.el
index 250d00171f2..a45976eef32 100644
--- a/lisp/progmodes/octave-inf.el
+++ b/lisp/progmodes/octave-inf.el
@@ -129,7 +129,7 @@ buffer.
 Entry to this mode successively runs the hooks `comint-mode-hook' and
 `inferior-octave-mode-hook'."
   (interactive)
-  (comint-mode)
+  (delay-mode-hooks (comint-mode))
   (setq comint-prompt-regexp inferior-octave-prompt
 	major-mode 'inferior-octave-mode
 	mode-name "Inferior Octave"
-- 
2.39.5