branch: elpa/emacsql commit b868ee6bda90022379730432610f040c62882064 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
Use two spaces after periods --- emacsql-compiler.el | 8 ++++---- emacsql-sqlite-builtin.el | 2 +- emacsql-sqlite-module.el | 2 +- emacsql.el | 16 ++++++++-------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/emacsql-compiler.el b/emacsql-compiler.el index 12a7082360..d03f4a446b 100644 --- a/emacsql-compiler.el +++ b/emacsql-compiler.el @@ -225,7 +225,7 @@ vector (v), raw string (r), schema (S)." (defmacro emacsql-with-params (prefix &rest body) "Evaluate BODY, collecting parameters. Provided local functions: `param', `identifier', `scalar', `raw', -`svector', `expr', `subsql', and `combine'. BODY should return a +`svector', `expr', `subsql', and `combine'. BODY should return a string, which will be combined with variable definitions." (declare (indent 1)) `(let ((emacsql--vars ())) @@ -283,9 +283,9 @@ The generated function is bound to NAME and accepts two arguments, OPERATOR-NAME and OPERATOR-ARGUMENT-COUNT. OPERATOR-PRECEDENCE-GROUPS should be a number of lists containing operators grouped by operator precedence (in order of precedence -from highest to lowest). A single operator is represented by a +from highest to lowest). A single operator is represented by a list of at least two elements: operator name (symbol) and -operator arity (:unary or :binary). Optionally a custom +operator arity (:unary or :binary). Optionally a custom expression can be included, which defines how the operator is expanded into an SQL expression (there are two defaults, one for :unary and one for :binary operators). @@ -366,7 +366,7 @@ to create an SQL expression." "Lookup SQL operator information for generating an SQL expression. Returns the following multiple values when an operator can be identified: a format string (see `emacsql--expand-format-string') -and a precedence value. If PARENT-PRECEDENCE-VALUE is greater or +and a precedence value. If PARENT-PRECEDENCE-VALUE is greater or equal to the identified operator's precedence, then the format string returned is wrapped with parentheses." (cl-destructuring-bind (format-string arity precedence-value) diff --git a/emacsql-sqlite-builtin.el b/emacsql-sqlite-builtin.el index b98e6967d1..15c6020e53 100644 --- a/emacsql-sqlite-builtin.el +++ b/emacsql-sqlite-builtin.el @@ -40,7 +40,7 @@ If FILE is nil use an in-memory database. :debug LOG -- When non-nil, log all SQLite commands to a log -buffer. This is for debugging purposes." +buffer. This is for debugging purposes." (let ((connection (make-instance #'emacsql-sqlite-builtin-connection :file file))) (when debug diff --git a/emacsql-sqlite-module.el b/emacsql-sqlite-module.el index c3cf29caa2..8dd1986e3d 100644 --- a/emacsql-sqlite-module.el +++ b/emacsql-sqlite-module.el @@ -44,7 +44,7 @@ If FILE is nil use an in-memory database. :debug LOG -- When non-nil, log all SQLite commands to a log -buffer. This is for debugging purposes." +buffer. This is for debugging purposes." (let ((connection (make-instance #'emacsql-sqlite-module-connection :file file))) (when debug diff --git a/emacsql.el b/emacsql.el index ce941a0581..9e28cfd55f 100644 --- a/emacsql.el +++ b/emacsql.el @@ -78,8 +78,8 @@ may return `process', `user-ptr' or `sqlite' for this value.") "Return an alist mapping EmacSQL types to database types. This will mask `emacsql-type-map' during expression compilation. This alist should have four key symbols: integer, float, object, -nil (default type). The values are strings to be inserted into a -SQL expression.") +nil (default type). The values are strings to be inserted into +a SQL expression.") (cl-defmethod emacsql-buffer ((connection emacsql-connection)) "Get process buffer for CONNECTION." @@ -177,9 +177,9 @@ misnamed and obsolete accessor function." (defclass emacsql-protocol-mixin () () "A mixin for back-ends following the EmacSQL protocol. -The back-end prompt must be a single \"]\" character. This prompt -value was chosen because it is unreadable. Output must have -exactly one row per line, fields separated by whitespace. NULL +The back-end prompt must be a single \"]\" character. This prompt +value was chosen because it is unreadable. Output must have +exactly one row per line, fields separated by whitespace. NULL must display as \"nil\"." :abstract t) @@ -246,7 +246,7 @@ This macro can be nested indefinitely, wrapping everything in a single transaction at the lowest level. Warning: BODY should *not* have any side effects besides making -changes to the database behind CONNECTION. Body may be evaluated +changes to the database behind CONNECTION. Body may be evaluated multiple times before the changes are committed." (declare (indent 1)) `(let ((emacsql--connection ,connection) @@ -288,8 +288,8 @@ A statement can be a list, containing a statement with its arguments." Returns the result of the last evaluated BODY. All column names must be provided in the query ($ and * are not -allowed). Hint: all of the bound identifiers must be known at -compile time. For example, in the expression below the variables +allowed). Hint: all of the bound identifiers must be known at +compile time. For example, in the expression below the variables `name' and `phone' will be bound for the body. (emacsql-with-bind db [:select [name phone] :from people]