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

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

[elpa] externals/sql-indent 9d5f978 05/13: Fix regexp bug in `sqlind-goo


From: Alex Harsanyi
Subject: [elpa] externals/sql-indent 9d5f978 05/13: Fix regexp bug in `sqlind-good-if-candidate` (fixes #76)
Date: Thu, 20 Jun 2019 05:25:45 -0400 (EDT)

branch: externals/sql-indent
commit 9d5f9785b22ef1cc64c4d9bfc61f03a7c9afecad
Author: Alex Harsanyi <address@hidden>
Commit: Alex Harsanyi <address@hidden>

    Fix regexp bug in `sqlind-good-if-candidate` (fixes #76)
---
 sql-indent.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sql-indent.el b/sql-indent.el
index aae7c2a..ddc8aa2 100644
--- a/sql-indent.el
+++ b/sql-indent.el
@@ -488,7 +488,7 @@ We try to avoid false positives, like \"end if\" or the 
various
          (forward-word -1)
          ;; we don't want to match an "end if", and things like "drop index if
          ;; exists..." and "create index if not exist..."
-         (not (looking-at 
"end\\|table\\|view\\|index\\|trigger\\procedude\\|function\\|package\\|body")))))
+         (not (looking-at 
"end\\|table\\|view\\|index\\|trigger\\|procedure\\|function\\|package\\|body")))))
 
 (defun sqlind-maybe-if-statement ()
   "If (point) is on an IF statement, report its syntax."



reply via email to

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