From Stefan Monnier
matlab-shell-mode
should really be defined with define-derived-mode
,
actually, which would take care of running that hook for you (along
with a few other things).
Sample 100% untested patch below (which also fixes some left over uses
of EIEIO's old "object name" argument in linemark.el
).
matlab-mode.patch.txt