[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql ffd501a588 11/11: Newline cosmetics
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql ffd501a588 11/11: Newline cosmetics |
Date: |
Fri, 19 Jan 2024 19:00:25 -0500 (EST) |
branch: elpa/emacsql
commit ffd501a588e4ca884f949119e7c79d214dfd2ffa
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Newline cosmetics
---
emacsql-compiler.el | 13 +++++++------
emacsql-psql.el | 6 +++---
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/emacsql-compiler.el b/emacsql-compiler.el
index 1c645b64b4..8f9ddbd73d 100644
--- a/emacsql-compiler.el
+++ b/emacsql-compiler.el
@@ -275,8 +275,7 @@ Only use within `emacsql-with-params'!"
(vector (format "(%s)" (mapconcat #'scalar vector ", ")))
(otherwise (emacsql-error "Invalid vector: %S" vector)))))
-(defmacro emacsql--generate-op-lookup-defun (name
- operator-precedence-groups)
+(defmacro emacsql--generate-op-lookup-defun (name operator-precedence-groups)
"Generate function to look up predefined SQL operator metadata.
The generated function is bound to NAME and accepts two
@@ -371,10 +370,12 @@ equal to the identified operator's precedence, then the
format
string returned is wrapped with parentheses."
(cl-destructuring-bind (format-string arity precedence-value)
(emacsql--get-op op argument-count)
- (let ((expanded-format-string (emacsql--expand-format-string op
- format-string
- arity
-
argument-count)))
+ (let ((expanded-format-string
+ (emacsql--expand-format-string
+ op
+ format-string
+ arity
+ argument-count)))
(cl-values (cond
((null format-string) nil)
((>= parent-precedence-value
diff --git a/emacsql-psql.el b/emacsql-psql.el
index 37b23d879a..85e400dcc9 100644
--- a/emacsql-psql.el
+++ b/emacsql-psql.el
@@ -117,9 +117,9 @@
http://www.postgresql.org/docs/7.3/static/sql-keywords-appendix.html")
(cl-defmethod emacsql-waiting-p ((connection emacsql-psql-connection))
(with-current-buffer (emacsql-buffer connection)
(cond ((= (buffer-size) 1) (string= "]" (buffer-string)))
- ((> (buffer-size) 1) (string= "\n]"
- (buffer-substring
- (- (point-max) 2) (point-max)))))))
+ ((> (buffer-size) 1) (string= "\n]" (buffer-substring
+ (- (point-max) 2)
+ (point-max)))))))
(cl-defmethod emacsql-check-error ((connection emacsql-psql-connection))
(with-current-buffer (emacsql-buffer connection)
- [nongnu] elpa/emacsql updated (e2b2df570d -> ffd501a588), ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql ce25410db4 03/11: Update cl-flet indentation, ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql 1bea33bd45 04/11: test: Fix indentation, ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql 8be75b66b1 05/11: Use `and' instead of `when' if value matters, ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql 1b8297b671 06/11: Use `setq' instead of `setf', ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql a4b4dce9a5 07/11: Use `put' instead of `setf' and `get', ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql 777abb9e9e 09/11: Use `oref' instead of `slot-value', ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql ffd501a588 11/11: Newline cosmetics,
ELPA Syncer <=
- [nongnu] elpa/emacsql 3ec2c96e58 02/11: emacsql-log-buffer: Deprecate this accessor for log-buffer slot, ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql 49b9858683 01/11: Change case of EmacSQL in deprecation warning, ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql dacc764567 08/11: Use `oref' instead of `eieio-oref', ELPA Syncer, 2024/01/19
- [nongnu] elpa/emacsql fdd0dbec38 10/11: Use `oset' instead of `setf' and `slot-value', ELPA Syncer, 2024/01/19