emacs-elpa-diffs
[Top][All Lists]
Advanced

[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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]