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

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

Re: How to highlight UUID in all buffes?


From: William Xu
Subject: Re: How to highlight UUID in all buffes?
Date: Sat, 15 Oct 2022 13:03:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

Jean Louis <bugs@gnu.support> writes:

> * William Xu <william.xwl@gmail.com> [2022-10-15 13:36]:
>> Jean Louis <bugs@gnu.support> writes:
>> 
>> > I have tried this:
>> >
>> > (font-lock-add-keywords 'mail-mode '((thing-at-point-uuid-regexp 1 'link)))
>> 
>> Try:
>> 
>> (font-lock-add-keywords 'mail-mode `((,(concat "\\(" 
>> thing-at-point-uuid-regexp "\\)") 1 'link)))
>
> 64ec985c-5aeb-4e24-952f-ef66b7f8bf1e
>
> When I do: 
>
> {M-x font-lock-update RET}
>
> I get:
>
> Debugger entered--Lisp error: (void-function thing-at-point-uuid-regexp)
>   thing-at-point-uuid-regexp(565)

Your added the keyword wrongly earlier. Try fock-lock-remove-keywords, or
simply restart your emacs. 

-- 
William




reply via email to

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