; * doc/lispref/modes.texi (SMIE Indentation Example): Fix previous commit
This commit is contained in:
parent
03080b5545
commit
33d0c603c6
1 changed files with 2 additions and 2 deletions
|
@ -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)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue