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