I have web-mode (which is awesome, by the way).
The following line:
(add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode))
every time when a .html file is loaded, web-mode will be enabled.
But I would like when web-mode is loading in
.html-files, then the zencoding-mode (a minor mode) will be also enabled by default. I tried various ways to get this worked.
(add-hook 'web-mode-hook 'zencoding-mode)will not work.
(add-to-list 'auto-mode-alist '("\\.html\\'" . zencoding-mode))
gives problems. Then web-mode is not being loaded, but zencoding mode is being loaded (because that's the last line to be evaluated, so replaces web-mode when a html-file is being opened.
Any suggestions? I would be genuinely thankful.