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

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

[nongnu] elpa/nix-mode bd019fe5e5 111/500: Automatically makunbound 'nix


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode bd019fe5e5 111/500: Automatically makunbound 'nix-mode-syntax-table
Date: Sat, 29 Jan 2022 08:26:42 -0500 (EST)

branch: elpa/nix-mode
commit bd019fe5e519f147f018b61e5840979cab398224
Author: Matthew Bauer <mjbauer95@gmail.com>
Commit: Matthew Bauer <mjbauer95@gmail.com>

    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

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