emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nginx-mode c37ae5f 30/34: Merge pull request #16 from Fuco


From: ELPA Syncer
Subject: [nongnu] elpa/nginx-mode c37ae5f 30/34: Merge pull request #16 from Fuco1/patch-1
Date: Sun, 29 Aug 2021 11:24:17 -0400 (EDT)

branch: elpa/nginx-mode
commit c37ae5ffe8dc30ad991dc7963185fb9995998fdf
Merge: b58708d 47aaf2c
Author: Andrew J. Cosgriff <andrew@cosgriff.name>
Commit: GitHub <noreply@github.com>

    Merge pull request #16 from Fuco1/patch-1
    
    Remove `run-hook`, it is run automatically.
---
 nginx-mode.el | 3 +--
 1 file changed, 1 insertion(+), 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]