]> git.eshelyaron.com Git - emacs.git/commitdiff
; * doc/lispref/modes.texi (SMIE Indentation Example): Fix previous commit
authorSimen Heggestøyl <simenheg@gmail.com>
Tue, 5 Jan 2021 11:17:13 +0000 (12:17 +0100)
committerSimen Heggestøyl <simenheg@runbox.com>
Tue, 5 Jan 2021 11:22:31 +0000 (12:22 +0100)
doc/lispref/modes.texi

index 72740868a61d04a97fdf712ab3af5a4da955baab..746ea3eddd90ab3c5b548be13a2c9772b1936362 100644 (file)
@@ -4164,8 +4164,8 @@ Here is an example of an indentation function:
     (`(:elem . basic) sample-indent-basic)
     (`(,_ . ",") (smie-rule-separator kind))
     (`(:after . ":=") sample-indent-basic)
-    (`(:before . ,(or `"begin" `"(" `"@{")))
-     (if (smie-rule-hanging-p) (smie-rule-parent))
+    (`(:before . ,(or `"begin" `"(" `"@{"))
+     (if (smie-rule-hanging-p) (smie-rule-parent)))
     (`(:before . "if")
      (and (not (smie-rule-bolp)) (smie-rule-prev-p "else")
           (smie-rule-parent)))))