[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 33d0c60: ; * doc/lispref/modes.texi (SMIE Indentation Example):
From: |
Simen Heggest�yl |
Subject: |
emacs-27 33d0c60: ; * doc/lispref/modes.texi (SMIE Indentation Example): Fix previous commit |
Date: |
Tue, 5 Jan 2021 06:22:55 -0500 (EST) |
branch: emacs-27
commit 33d0c603c6795488ed0283a1e83cb02eb290f567
Author: Simen Heggestøyl <simenheg@gmail.com>
Commit: Simen Heggestøyl <simenheg@runbox.com>
; * doc/lispref/modes.texi (SMIE Indentation Example): Fix previous commit
---
doc/lispref/modes.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 7274086..746ea3e 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)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 33d0c60: ; * doc/lispref/modes.texi (SMIE Indentation Example): Fix previous commit,
Simen Heggest�yl <=