Both jade-mode and stylus-mode derive from sws-mode which is neither derived from text-mode nor prog-mode. Pick either to allow people to run hooks for all textual/program modes. While editing this code I also removed things done automatically by define-derived-mode.
Both
jade-mode
andstylus-mode
derive fromsws-mode
which is neither derived fromtext-mode
norprog-mode
. Pick either to allow people to run hooks for all textual/program modes. While editing this code I also removed things done automatically bydefine-derived-mode
.