From: Simen Heggestøyl Date: Tue, 5 Jan 2021 11:17:13 +0000 (+0100) Subject: ; * doc/lispref/modes.texi (SMIE Indentation Example): Fix previous commit X-Git-Tag: emacs-27.1.91~22 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=33d0c603c6795488ed0283a1e83cb02eb290f567;p=emacs.git ; * doc/lispref/modes.texi (SMIE Indentation Example): Fix previous commit --- diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 72740868a61..746ea3eddd9 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -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)))))