[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql e061847083 302/427: Improve emacsql-fix-vector-ind
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql e061847083 302/427: Improve emacsql-fix-vector-indentation. |
Date: |
Tue, 13 Dec 2022 02:59:53 -0500 (EST) |
branch: elpa/emacsql
commit e0618470832ef7148dc06d28d3eee27c5f535a33
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>
Improve emacsql-fix-vector-indentation.
Use beginning-of-defun instead of backward-paragraph.
---
emacsql.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/emacsql.el b/emacsql.el
index 4905e14581..4673a3b33f 100644
--- a/emacsql.el
+++ b/emacsql.el
@@ -388,7 +388,7 @@ A prefix argument causes the SQL to be printed into the
current buffer."
"Return non-nil if point is inside a vector expression."
(let ((start (point)))
(save-excursion
- (backward-paragraph)
+ (beginning-of-defun)
(let ((containing-sexp (elt (parse-partial-sexp (point) start) 1)))
(when containing-sexp
(setf (point) containing-sexp)
- [nongnu] elpa/emacsql b4d5ef41fe 410/427: make: Don't require pg.el to be available to build and test, (continued)
- [nongnu] elpa/emacsql b4d5ef41fe 410/427: make: Don't require pg.el to be available to build and test, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 5818000c7d 412/427: make: Update pg repository url, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 0da3f06e89 416/427: Fix docstring typo, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 20cdad6fe6 417/427: Include sqlite error code in error data, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1becb00945 419/427: Define a few constants as such, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 40c41d0d97 421/427: Release version 3.1.0, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql bfbd0c3a73 422/427: Resume development, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 5c4aa1030b 415/427: Do not warn about missing pg functions, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql be95788334 214/427: Use global timeout in tests., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 944de63e9d 298/427: Add functions to fix vector indentation., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql e061847083 302/427: Improve emacsql-fix-vector-indentation.,
ELPA Syncer <=
- [nongnu] elpa/emacsql 3f3c36a403 341/427: Expand identifier vectors when passed as parameters (#7)., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1de10e8ad4 357/427: Fix warning in emacsql-sqlite initialize-instance (#38), ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 488e7ebbb5 380/427: Change defvar to defconst for emacsql-version (fix #53), ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql e80281487b 399/427: Bump back-ends' dependency on emacsql, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ec4f3d091b 424/427: Resume development, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql c1a44076c0 423/427: Release version 3.1.1, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6b2e65bdf7 427/427: Use new version string format for unreleased revisions, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 08eb5aed26 406/427: Update to SQLite 3.39.3, ELPA Syncer, 2022/12/13