From: Lute Kamstra Date: Tue, 14 Jun 2005 12:07:24 +0000 (+0000) Subject: (inferior-octave-mode): Use delay-mode-hooks. X-Git-Tag: emacs-pretest-22.0.90~8966 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb1b44b04b69fe1afbaf97934954112da9896737;p=emacs.git (inferior-octave-mode): Use delay-mode-hooks. --- 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"