[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/sql-indent f897c11 08/13: Apply advices of `checkdoc' (
From: |
Alex Harsanyi |
Subject: |
[elpa] externals/sql-indent f897c11 08/13: Apply advices of `checkdoc' (#77) |
Date: |
Thu, 20 Jun 2019 05:25:46 -0400 (EDT) |
branch: externals/sql-indent
commit f897c11fb183021a12cda7417d2d08fdfffa78bd
Author: Pierre Téchoueyres <address@hidden>
Commit: Alex Harsányi <address@hidden>
Apply advices of `checkdoc' (#77)
* sql-indent.el: spelling and other documentation fixes.
---
sql-indent.el | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/sql-indent.el b/sql-indent.el
index d2ad014..51901f2 100644
--- a/sql-indent.el
+++ b/sql-indent.el
@@ -134,7 +134,7 @@ whitespace, or at the end of the buffer."
(defun sqlind-search-backward (start regexp limit)
"Search for REGEXP from START backward until LIMIT.
Finds a match that is not inside a comment or string, moves point
-to the match and returns it. If no match is found, point is moved
+to the match and returns it. If no match is found, point is moved
to LIMIT and nil is returned."
(goto-char start)
(let ((done nil))
@@ -479,7 +479,7 @@ See also `sqlind-beginning-of-block'"
nil))))))
(defun sqlind-good-if-candidate ()
- "Return true if point is on an actual if statement.
+ "Return non-nil if point is on an actual if statement.
We try to avoid false positives, like \"end if\" or the various
\"drop STUFF if exists\" variants."
(and (looking-at "if")
@@ -504,7 +504,7 @@ We try to avoid false positives, like \"end if\" or the
various
"bad closing for if block" (point) pos))))))))
(defun sqlind-maybe-case-statement ()
- "If (point) is on a case statement"
+ "If (point) is on a case statement."
(when (looking-at "case")
(save-excursion
(sqlind-backward-syntactic-ws)
@@ -1656,16 +1656,16 @@ The following syntax symbols are defined for SQL code:
are buffer locations denoting the problematic region. ANCHOR
is undefined for this syntax info
-- in-comment -- line is inside a multi line comment, ANCHOR is
+- `in-comment' -- line is inside a multi line comment, ANCHOR is
the start of the comment.
-- comment-start -- line starts with a comment. ANCHOR is the
+- `comment-start' -- line starts with a comment. ANCHOR is the
start of the enclosing block.
-- in-string -- line is inside a string, ANCHOR denotes the start
+- `in-string' -- line is inside a string, ANCHOR denotes the start
of the string.
-- toplevel -- line is at toplevel (not inside any programming
+- `toplevel' -- line is at toplevel (not inside any programming
construct). ANCHOR is usually (point-min).
- (in-block BLOCK-KIND LABEL) -- line is inside a block
@@ -1778,7 +1778,7 @@ clause (select, from, where, etc) in which the current
point is.
table was defined and a new one is about to start.
- select-table-continuation -- line is inside the from clause,
- inside a table definition which starts on a previous line. Note
+ inside a table definition which starts on a previous line. Note
that ANCHOR still points to the start of the select statement
itself.
@@ -2265,7 +2265,7 @@ statement. For example:
)
This function only makes sense in a
-'nested-statement-continuation sytnax indentation rule."
+'nested-statement-continuation SYTNAX indentation rule."
(save-excursion
(goto-char (sqlind-anchor-point syntax))
(forward-char 1)
- [elpa] externals/sql-indent updated (87a6b4a -> 47e9ccb), Alex Harsanyi, 2019/06/20
- [elpa] externals/sql-indent 9d5f978 05/13: Fix regexp bug in `sqlind-good-if-candidate` (fixes #76), Alex Harsanyi, 2019/06/20
- [elpa] externals/sql-indent 31c29ed 12/13: Recognize more types of begin transaction statements (fixes #84), Alex Harsanyi, 2019/06/20
- [elpa] externals/sql-indent 2ca9610 09/13: don't be confused by drop function or procedure statements #80, Alex Harsanyi, 2019/06/20
- [elpa] externals/sql-indent f897c11 08/13: Apply advices of `checkdoc' (#77),
Alex Harsanyi <=
- [elpa] externals/sql-indent dccd194 02/13: Recognize `select-join-condition` syntax inside nested statements #70 (#71), Alex Harsanyi, 2019/06/20
- [elpa] externals/sql-indent e7e7e85 11/13: Don't recognize select keywords in comments, fixes #83, Alex Harsanyi, 2019/06/20
- [elpa] externals/sql-indent 47e9ccb 13/13: Recognize left and right outer join statements #85, Alex Harsanyi, 2019/06/20
- [elpa] externals/sql-indent e511ced 01/13: `sqlind-search-backward` finds things at the same nesting level (#68) (#69), Alex Harsanyi, 2019/06/20
- [elpa] externals/sql-indent d9442ed 03/13: Recognize FULL JOIN, UNION ALL and EXCEPT keywords #73 (#74), Alex Harsanyi, 2019/06/20
- [elpa] externals/sql-indent 1974564 10/13: recognize elseif in addition to elif #81, Alex Harsanyi, 2019/06/20
- [elpa] externals/sql-indent 9559ebe 07/13: Fix `sqlind-comment-end' regexp. (#79), Alex Harsanyi, 2019/06/20
- [elpa] externals/sql-indent ba2a690 06/13: also fix sqlind-end-statement-regexp, Alex Harsanyi, 2019/06/20
- [elpa] externals/sql-indent a6da8bd 04/13: Recognize more create keywords (#75), Alex Harsanyi, 2019/06/20