emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs 23.3 stops font-lock when have long face name


From: Stefan Monnier
Subject: Re: Emacs 23.3 stops font-lock when have long face name
Date: Wed, 25 Nov 2015 16:09:55 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>   (setq verilog-font-lock-keywords
>      ....
>      (cons (concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>")
>          'verilog-font-lock-fixme-face)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is not used as a face name, but as an Elisp expression whose
evaluation returns a face name.  Hysterical raisins and all.

I something like

      (cons (concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>")
           ''verilog-font-lock-fixme-face)

or better yet

      `(,(concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>")
        (0 'verilog-font-lock-fixme-face))


-- Stefan




reply via email to

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