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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/emacsql 4a58806d64 299/427: Improve new indentation a litt


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 4a58806d64 299/427: Improve new indentation a little bit.
Date: Tue, 13 Dec 2022 02:59:53 -0500 (EST)

branch: elpa/emacsql
commit 4a58806d64039cf958a54a09228d65580524af9a
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Improve new indentation a little bit.
---
 emacsql.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emacsql.el b/emacsql.el
index cff35da308..3e6344d2f3 100644
--- a/emacsql.el
+++ b/emacsql.el
@@ -394,7 +394,7 @@ A prefix argument causes the SQL to be printed into the 
current buffer."
 
 (defadvice calculate-lisp-indent (around emacsql-vector-indent disable)
   "Don't indent vectors in `emacs-lisp-mode' like lists."
-  (if (emacsql--inside-vector-p)
+  (if (save-excursion (beginning-of-line) (emacsql--inside-vector-p))
       (let ((lisp-indent-offset 1))
         ad-do-it)
       ad-do-it))



reply via email to

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