]> git.eshelyaron.com Git - emacs.git/commitdiff
Change top-level anchor to point-min
authorTheodor Thornhill <theo@thornhill.no>
Fri, 20 Jan 2023 21:59:51 +0000 (22:59 +0100)
committerTheodor Thornhill <theo@thornhill.no>
Fri, 20 Jan 2023 21:59:51 +0000 (22:59 +0100)
* lisp/textmodes/html-ts-mode.el (html-ts-mode--indent-rules): Anchor
to point-min.

lisp/textmodes/html-ts-mode.el

index 3f88a087163b4bf856c220930c98ed54401f3238..7e4360747a3797ed66e993d0ba11fb909e5588b4 100644 (file)
@@ -42,7 +42,7 @@
 
 (defvar html-ts-mode--indent-rules
   `((html
-     ((parent-is "fragment") parent-bol 0)
+     ((parent-is "fragment") point-min 0)
      ((node-is "/>") parent-bol 0)
      ((node-is ">") parent-bol 0)
      ((node-is "end_tag") parent-bol 0)