From 6fd3933a9aa4911f7c9e594a132819470f2ed02c Mon Sep 17 00:00:00 2001 From: Andrew J. Cosgriff Date: Sat, 22 Mar 2014 14:28:07 +1100 Subject: Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 5df9502..d38f7c9 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Put this file into your load-path and the following into your ~/.emacs: (require 'nginx-mode) ``` -Example: To load nginx-mode to all files in your /etc/nginx/sites-available use: +The mode should automatically activate for files called `nginx.conf` and files under `/etc/nginx` - if not, you can add something like this to your init file: ```lisp (add-to-list 'auto-mode-alist '("/etc/nginx/sites-available/.*" . nginx-mode)) ``` -- cgit v1.2.3-54-g00ecf