emacs-diffs
[Top][All Lists]
Advanced

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

master 2d3947ba7a7: html-ts-mode--indent-rules: Use 'column-0' instead o


From: Dmitry Gutov
Subject: master 2d3947ba7a7: html-ts-mode--indent-rules: Use 'column-0' instead of 'point-min'
Date: Mon, 10 Apr 2023 17:24:57 -0400 (EDT)

branch: master
commit 2d3947ba7a7ed5ff1f7da794710e10dacc415881
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    html-ts-mode--indent-rules: Use 'column-0' instead of 'point-min'
    
    * lisp/textmodes/html-ts-mode.el (html-ts-mode--indent-rules):
    Use 'column-0' instead of 'point-min' (bug#62752).
---
 lisp/textmodes/html-ts-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/textmodes/html-ts-mode.el b/lisp/textmodes/html-ts-mode.el
index 58dcc7d8cad..4c1f410a7ef 100644
--- a/lisp/textmodes/html-ts-mode.el
+++ b/lisp/textmodes/html-ts-mode.el
@@ -42,7 +42,7 @@
 
 (defvar html-ts-mode--indent-rules
   `((html
-     ((parent-is "fragment") point-min 0)
+     ((parent-is "fragment") column-0 0)
      ((node-is "/>") parent-bol 0)
      ((node-is ">") parent-bol 0)
      ((node-is "end_tag") parent-bol 0)



reply via email to

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