emacs-orgmode
[Top][All Lists]
Advanced

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

[PATCH] ~org-font-lock-add-priority-faces~: ensure priority cookies are


From: Sébastien Miquel
Subject: [PATCH] ~org-font-lock-add-priority-faces~: ensure priority cookies are in a headline
Date: Fri, 26 Feb 2021 20:58:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

Priority cookies are always in a headline.

The attached patch speeds up fontification of a 1k lines buffer by 0.1
second.

Note that the variable org-priority-regexp can't be modified since
it is used in the agenda and in org-get-priority.

Regards,

--
Sébastien Miquel

Attachment: 0001-org.el-org-font-lock-add-priority-faces-Speed-up-reg.patch
Description: Text Data


reply via email to

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