help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: comment delimiter in syntax table


From: Stefan Monnier
Subject: Re: comment delimiter in syntax table
Date: 04 Jun 2003 12:10:37 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "carlos" == carlos conde <address@hidden> writes:
> Is there a way to declare longer comment delimiters in the syntax table ??

No.  The best solution right now is to use font-lock-syntactic-keywords:

  (defvar foo-font-lock-syntactic-keywords
    '(("\\(<\\)\\*--" (1 "<"))
      ("--\\*\\(>\\)" (1 ">"))))


-- Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]