branch: elpa/nix-mode
commit b0829d67c542e2befec5136dac75f4a5470c5f05
Author: Dustin Lacewell <[email protected]>
Commit: Dustin Lacewell <[email protected]>

    Fix missing parens and standardize regexp style
---
 nix-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nix-mode.el b/nix-mode.el
index f1b305245a..9ef8fb0b79 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -36,7 +36,7 @@ Valid functions for this are:
   :type 'function)
 
 (defcustom nix-mode-caps
-  '(" =[ \n]" "\(" "\{" "\\[" "\\bwith " "\\blet\\b" "\\binherit\\b")
+  '(" =[ \n]" "\(" "\{" "\\[" "\\bwith\\b" "\\blet\\b" "\\binherit\\b")
   "Regular expressions to consider expression caps."
   :group 'nix-mode
   :type '(repeat string))
@@ -390,7 +390,7 @@ STRING-TYPE type of string based off of Emacs syntax table 
types"
   "Return regexp for matching string quotes."
   (nix-mode-make-regexp nix-mode-quotes))
 
-(defun nix-mode-combined-regexp
+(defun nix-mode-combined-regexp ()
   "Return combined regexp for matching items of interest."
     (nix-mode-make-regexp (append nix-mode-caps
                                   nix-mode-ends

Reply via email to