Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

add into auto-mode-alist #6

stardiviner opened this Issue Dec 20, 2013 · 1 comment


None yet
2 participants

add into auto-mode-alist like this:

(add-to-list 'auto-mode-alist
'("nginx.conf$" . nginx-mode)
'("/etc/nginx/.*" . nginx-mode))

Instead of switch to nginx mode manually, I hope Emacs can be smart on this.


ajc commented Dec 23, 2013

I'll add it in, but I'd suggest you should really be editing your files elsewhere and installing them via a configuration management system (eg. Puppet) - that's why I hadn't originally added something like this :)

@ajc ajc closed this in 06fe730 Dec 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment