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

    Fix byte-compile
    
    looking-back needs two args
    
    also v1.2.1 minor release
---
 nix-mode.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/nix-mode.el b/nix-mode.el
index 07a31ea4c6..b57867adf2 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -1,9 +1,8 @@
 ;;; nix-mode.el --- Major mode for editing .nix files -*- lexical-binding: t 
-*-
 
-;; Author: Eelco Dolstra
 ;; Maintainer: Matthew Bauer <[email protected]>
 ;; Homepage: https://github.com/matthewbauer/nix-mode
-;; Version: 1.2
+;; Version: 1.2.1
 ;; Keywords: nix, languages, tools, unix
 ;; Package-Requires: ((emacs "24.3"))
 
@@ -392,7 +391,7 @@ STRING-TYPE type of string based off of Emacs syntax table 
types"
                                              (forward-line -1)
                                              (end-of-line)
                                              (skip-chars-backward "[:space:]")
-                                             (looking-back "''")) 1 0)
+                                             (looking-back "''" 0)) 1 0)
                                        (if (save-excursion
                                              (beginning-of-line)
                                              (skip-chars-forward

Reply via email to