branch: elpa/nix-mode
commit bd019fe5e519f147f018b61e5840979cab398224
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>

    Automatically makunbound 'nix-mode-syntax-table
    
    This has got me a few times where an old syntax table was screwing
    things up. It doesn't seem to hurt at all running this every time we
    load nix-mode.
---
 nix-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nix-mode.el b/nix-mode.el
index c163b9cb4b..2fa86c44b2 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -68,6 +68,8 @@
     (,nix-re-bracket-path . font-lock-constant-face))
   "Font lock keywords for nix.")
 
+(makunbound 'nix-mode-syntax-table)
+
 (defvar nix-mode-syntax-table
   (let ((table (make-syntax-table)))
     (modify-syntax-entry ?/ ". 14" table)

Reply via email to