branch: externals/sql-indent commit 9d5f9785b22ef1cc64c4d9bfc61f03a7c9afecad Author: Alex Harsanyi <alexharsa...@gmail.com> Commit: Alex Harsanyi <alexharsa...@gmail.com>
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."