From 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 Aug 2025 22:58:58 -0500 Subject: removing all downloaded devdocs files --- devdocs/elisp/smie-indentation-example.html | 45 ----------------------------- 1 file changed, 45 deletions(-) delete mode 100644 devdocs/elisp/smie-indentation-example.html (limited to 'devdocs/elisp/smie-indentation-example.html') diff --git a/devdocs/elisp/smie-indentation-example.html b/devdocs/elisp/smie-indentation-example.html deleted file mode 100644 index 91dbad87..00000000 --- a/devdocs/elisp/smie-indentation-example.html +++ /dev/null @@ -1,45 +0,0 @@ -

Sample Indentation Rules

Here is an example of an indentation function:

(defun sample-smie-rules (kind token)
-  (pcase (cons kind token)
-    (`(: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 . "if")
-     (and (not (smie-rule-bolp)) (smie-rule-prev-p "else")
-          (smie-rule-parent)))))
-
-

A few things to note:

-

- Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
- https://www.gnu.org/software/emacs/manual/html_node/elisp/SMIE-Indentation-Example.html -

-
-- cgit v1.2.3