Set sgml-mode as default in nXhtml
Well, I have already provided self-explanatory title. =) I use nXhtml
for web development, and sgml-mode
keybindings suite me better. Is there any chance 开发者_JAVA百科that I can change default mode for HTML editing?
I reckon that this is probably an RTFM issue, but I find nXhtml
documentation quite uptight. =/
Had you tried standard method of setting mode with
(add-to-list 'auto-mode-alist '("\\.html?$" . sgml-mode))
? I don't use nXhtml, so I don't know how it set handler for HTML files.
精彩评论