branch: elpa/emacsql commit e0618470832ef7148dc06d28d3eee27c5f535a33 Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@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)