diff options
| author | Thomas Kleymann | 1999-02-03 15:55:42 +0000 |
|---|---|---|
| committer | Thomas Kleymann | 1999-02-03 15:55:42 +0000 |
| commit | 113a83d751f3fc51fc6fc6655e3ee77f488b2793 (patch) | |
| tree | 1ef34cc2d8dc80237684c187d381cbc29fb6d334 /lego/lego-syntax.el | |
| parent | c28be95727fe2023d2937958ac53aa1716958337 (diff) | |
fixed syntax entry for "_"
Diffstat (limited to 'lego/lego-syntax.el')
| -rw-r--r-- | lego/lego-syntax.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lego/lego-syntax.el b/lego/lego-syntax.el index a49ee574..9feb283a 100644 --- a/lego/lego-syntax.el +++ b/lego/lego-syntax.el @@ -100,4 +100,14 @@ (list lego-goal-with-hole-regexp 2 'font-lock-function-name-face) (list lego-save-with-hole-regexp 2 'font-lock-function-name-face)))) +(defun lego-init-syntax-table () + "Set appropriate values for syntax table in current buffer." + + (modify-syntax-entry ?_ "_") + (modify-syntax-entry ?\' "_") + (modify-syntax-entry ?\| ".") + (modify-syntax-entry ?\* ". 23") + (modify-syntax-entry ?\( "()1") + (modify-syntax-entry ?\) ")(4")) + (provide 'lego-syntax) |
