changeset 63411:1244410f3457

(inferior-octave-mode): Use delay-mode-hooks.
author Lute Kamstra <lute@gnu.org>
date Tue, 14 Jun 2005 12:07:24 +0000
parents 37dd5dc2f5ae
children 07d47babe5b8
files lisp/progmodes/octave-inf.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/octave-inf.el	Tue Jun 14 12:03:52 2005 +0000
+++ b/lisp/progmodes/octave-inf.el	Tue Jun 14 12:07:24 2005 +0000
@@ -129,7 +129,7 @@
 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"