[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
+1 char strings as open-bracket/close-bracket
From: |
Kokor Hekkus |
Subject: |
+1 char strings as open-bracket/close-bracket |
Date: |
Thu, 25 Jun 2009 04:13:19 -0700 (PDT) |
User-agent: |
G2/1.0 |
Any way of modifying the syntax table to identify a string of more
than one character as an open-bracket or a close-bracket character.
For instance, you might do:
(modify-syntax-entry ?^ "($")
(modify-syntax-entry ?$ ")^")
...to make ^ and $ match each other (from EmacsWiki). How would I
make the two character strings '#>' and '<#' match in the same way?
The above doesn't work.
Thanks!
- +1 char strings as open-bracket/close-bracket,
Kokor Hekkus <=