Kai Grossjohann writes:
 > I have this in ~/.emacs:
 > 
 > (eval-after-load "align"
 >   '(add-to-list 'align-c++-modes 'jde-mode))
 > 
 > (java-mode is already listed there by default.)
 > 
 > WIBNI this happened automatically?

Perhaps because Emacs does not support the notion of mode inheritance,
i.e., the value of major-mode in a jde-mode buffer is 'jde-mode, not
'(cc-mode java-mode jde-mode) so align has no way of knowing that
jde-mode is a subclass of java-mode.

Paul

Reply via email to