summaryrefslogtreecommitdiffstatshomepage
path: root/nginx-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'nginx-mode.el')
-rw-r--r--nginx-mode.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/nginx-mode.el b/nginx-mode.el
index 9cf79e2..b038532 100644
--- a/nginx-mode.el
+++ b/nginx-mode.el
@@ -184,8 +184,7 @@ The variable nginx-indent-level controls the amount of indentation.
(set (make-local-variable 'paragraph-separate) "\\([ \f]*\\|#\\)$")
(set (make-local-variable 'font-lock-defaults)
- '(nginx-font-lock-keywords nil))
- (run-hooks 'nginx-mode-hook))
+ '(nginx-font-lock-keywords nil)))
;;;###autoload
(add-to-list 'auto-mode-alist '("nginx\\.conf\\'" . nginx-mode))