archimag / cl-closure-template

Common Lisp implementation of Google's Closure Templates.
Other
71 stars 23 forks source link

Error message in Emacs mode is fixed #7

Closed alexey-martynov closed 12 years ago

alexey-martynov commented 12 years ago

Error message "Error during redisplay: (error No match 2 in highlight (2 font-lock-function-name-face))" is fixed by removing second group highlight specififcation because no secodn group exists in expression (rx "{" (group (or "literal" "/literal")) "}")

archimag commented 12 years ago

It really works? I can not test it now.

alexey-martynov commented 12 years ago

Yes. It really works. You can easily check it. Regex for {literal} contains only one group. So Emacs can't find second group for highlighting.