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

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

[elpa] externals/polymode ca060e081a 2/2: fix issue of incorrect indenta


From: ELPA Syncer
Subject: [elpa] externals/polymode ca060e081a 2/2: fix issue of incorrect indentation to inner mode tail
Date: Fri, 17 Mar 2023 08:59:45 -0400 (EDT)

branch: externals/polymode
commit ca060e081a1f849a880732670dc15370ac987b89
Author: Rongsong Shen <shenrs@cn.ibm.com>
Commit: Vitalie Spinu <spinuvit@gmail.com>

    fix issue of incorrect indentation to inner mode tail
---
 polymode-methods.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/polymode-methods.el b/polymode-methods.el
index 0fd9841283..052427436e 100644
--- a/polymode-methods.el
+++ b/polymode-methods.el
@@ -655,7 +655,7 @@ to indent."
             ;; for instance.
             (goto-char sbeg)))
         (back-to-indentation)
-        (- (point) (point-at-bol))))))
+        (current-column)))))
 
 (defun pm--+-indent-offset-on-this-line (span)
   (if (re-search-forward "\\([+-]\\)indent" (point-at-eol) t)



reply via email to

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