Closed bbatsov closed 8 years ago
The latter, I suppose (it calls comint-mode
anyway).
If it becomes a derived mode, the trick with preserving the value of mode-line-process
won't survive, but we can move it to inf-ruby-switch-from-compilation
, similarly to inf-ruby-maybe-switch-to-compilation
.
I noticed
inf-ruby-mode
doesn't derive fromcomint-mode
. Is there any special reason for this or it's just a matter of legacy?