projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03080b5
)
; * doc/lispref/modes.texi (SMIE Indentation Example): Fix previous commit
author
Simen Heggestøyl
<simenheg@gmail.com>
Tue, 5 Jan 2021 11:17:13 +0000
(12:17 +0100)
committer
Simen Heggestøyl
<simenheg@runbox.com>
Tue, 5 Jan 2021 11:22:31 +0000
(12:22 +0100)
doc/lispref/modes.texi
patch
|
blob
|
history
diff --git
a/doc/lispref/modes.texi
b/doc/lispref/modes.texi
index 72740868a61d04a97fdf712ab3af5a4da955baab..746ea3eddd90ab3c5b548be13a2c9772b1936362 100644
(file)
--- 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)))))