1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

(inferior-octave-mode): Use delay-mode-hooks.

This commit is contained in:
Lute Kamstra 2005-06-14 12:07:24 +00:00
parent 03789b211d
commit cb1b44b04b

View File

@ -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"