Skip to content

Commit c37ae5f

Browse files
authored
Merge pull request #16 from Fuco1/patch-1
Remove `run-hook`, it is run automatically.
2 parents b58708d + 47aaf2c commit c37ae5f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nginx-mode.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ The variable nginx-indent-level controls the amount of indentation.
184184
(set (make-local-variable 'paragraph-separate) "\\([ \f]*\\|#\\)$")
185185

186186
(set (make-local-variable 'font-lock-defaults)
187-
'(nginx-font-lock-keywords nil))
188-
(run-hooks 'nginx-mode-hook))
187+
'(nginx-font-lock-keywords nil)))
189188

190189
;;;###autoload
191190
(add-to-list 'auto-mode-alist '("nginx\\.conf\\'" . nginx-mode))

0 commit comments

Comments
 (0)