Hello,
Adam Sneller writes:
> Nicholas - can you recommend how to best implement this with
> font-lock-add-keywords?
I think you can add a function as a matcher. The function could probably
be what you wrote already.
See `org-set-font-lock-defaults' for examples.
Regards,
--
Nicolas Goaziou
Thank you both for the replies!
Nicholas - can you recommend how to best implement this with
font-lock-add-keywords?
Best regards,
-Adam
> On 6 Apr 2021, at 13:06, Nicolas Goaziou wrote:
>
> Hello,
>
> Kyle Meyer writes:
>
>> [ Sorry for the slow response. ]
>>
>> Adam Sneller writes:
>>
>>>
Hello,
Kyle Meyer writes:
> [ Sorry for the slow response. ]
>
> Adam Sneller writes:
>
>> I have a function that searches for broken fuzzy links in org-mode and
>> applies org-warning face to anything it finds:
>>
>> (org-link-set-parameters
>> "fuzzy"
>> :face (lambda (path)
>> (let ((org-link
[ Sorry for the slow response. ]
Adam Sneller writes:
> I have a function that searches for broken fuzzy links in org-mode and
> applies org-warning face to anything it finds:
>
> (org-link-set-parameters
> "fuzzy"
> :face (lambda (path)
> (let ((org-link-search-inhibit-query t))
> (if (condition
I have a function that searches for broken fuzzy links in org-mode and applies
org-warning face to anything it finds:
(org-link-set-parameters
"fuzzy"
:face (lambda (path)
(let ((org-link-search-inhibit-query t))
(if (condition-case nil
(save-excursion
(save-match-data
(org-link-search path (poin