diff options
author | Simen Heggestøyl <simenheg@gmail.com> | 2021-01-05 12:17:13 +0100 |
---|---|---|
committer | Simen Heggestøyl <simenheg@runbox.com> | 2021-01-05 12:22:31 +0100 |
commit | 33d0c603c6795488ed0283a1e83cb02eb290f567 (patch) | |
tree | 9936d6246bdf0937f63d02c0fb79359abebb3ca9 | |
parent | 03080b554523732b5d53db62866e70bf090031e3 (diff) | |
download | emacs-33d0c603c6795488ed0283a1e83cb02eb290f567.tar.gz |
; * doc/lispref/modes.texi (SMIE Indentation Example): Fix previous commit
-rw-r--r-- | doc/lispref/modes.texi | 4 |
1 files changed, 2 insertions, 2 deletions
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))))) |