diff options
Diffstat (limited to 'nginx-mode.el')
-rw-r--r-- | nginx-mode.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/nginx-mode.el b/nginx-mode.el index 70382d4..83d8619 100644 --- a/nginx-mode.el +++ b/nginx-mode.el @@ -182,11 +182,12 @@ The variable nginx-indent-level controls the amount of indentation. (set (make-local-variable 'font-lock-defaults) '(nginx-font-lock-keywords nil)) - (run-hooks 'nginx-mode-hook) + (run-hooks 'nginx-mode-hook)) - (add-to-list 'auto-mode-alist - '("nginx\.conf$" . nginx-mode) - '("/etc/nginx/.*" . nginx-mode))) +;;;###autoload +(add-to-list 'auto-mode-alist + '("nginx\.conf$" . nginx-mode) + '("/etc/nginx/.*" . nginx-mode)) (provide 'nginx-mode) |