[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-superstar c58d1e2689 046/162: force org-superstar to c
From: |
Stefan Kangas |
Subject: |
[nongnu] elpa/org-superstar c58d1e2689 046/162: force org-superstar to clean up --font-lock-keywords |
Date: |
Fri, 31 Dec 2021 19:35:23 -0500 (EST) |
branch: elpa/org-superstar
commit c58d1e268944427580cb8f00cf86d33aa8dfcbf8
Author: D. Williams <d.williams@posteo.net>
Commit: D. Williams <d.williams@posteo.net>
force org-superstar to clean up --font-lock-keywords
---
README.org | 2 --
org-superstar.el | 3 +++
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/README.org b/README.org
index 7adc91d2c2..b2c48651da 100644
--- a/README.org
+++ b/README.org
@@ -36,8 +36,6 @@
more involved than to get it on MELPA, with more checks and
monitoring before things can go live.
-
-
** =2020-02-02=
*Good news!* The project is reaching an /acceptable/ first draft state.
This means I am now preparing getting this package properly wrapped
diff --git a/org-superstar.el b/org-superstar.el
index c76941c5a5..db75f9dff6 100644
--- a/org-superstar.el
+++ b/org-superstar.el
@@ -519,12 +519,15 @@ routines of ‘\\[org-superstar-mode]’."
:require 'org
(cond
(org-superstar-mode
+ (font-lock-remove-keywords nil org-superstar--font-lock-keywords)
(org-superstar--update-font-lock-keywords)
(font-lock-add-keywords nil org-superstar--font-lock-keywords
'append)
(org-superstar--fontify-buffer))
(t
(font-lock-remove-keywords nil org-superstar--font-lock-keywords)
+ (setq org-superstar--font-lock-keywords
+ (default-value 'org-superstar--font-lock-keywords))
(org-superstar--unprettify-ibullets)
(org-superstar--unprettify-hbullets)
(org-superstar--fontify-buffer))))
- [nongnu] elpa/org-superstar 4a4ae121c1 061/162: Add further documentation regarding org-indent-mode., (continued)
- [nongnu] elpa/org-superstar 4a4ae121c1 061/162: Add further documentation regarding org-indent-mode., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 457b6cdb49 019/162: Updating README to include new features., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar fe061dce0c 043/162: added simple batch mode based unit tests for font lock, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar c70360d76b 028/162: Adding "test image" face-test.el, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 5614c01993 081/162: fixed typo in README, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar d4948eb213 032/162: Updated README, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 45719ffd10 022/162: added a marker for melpa review, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar b196dc10af 025/162: adding first draft of public testing facilities, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 086ab28506 075/162: Updating Roadmap, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 4965e70c75 036/162: added reference for default headline fontification, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar c58d1e2689 046/162: force org-superstar to clean up --font-lock-keywords,
Stefan Kangas <=
- [nongnu] elpa/org-superstar a7d6b37ea2 062/162: Removing references to org-hide-leading-stars-before-indent-mode., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 6ef00c4eaf 034/162: renamed sample-titles to sample-headlines, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar bd99047cb3 048/162: updating README, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar b7c660aa32 038/162: adding further faceup files, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 4c2015072c 024/162: updated roadmap, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 845aa85b78 080/162: fixed typo in docstring, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar fc62da2f85 077/162: fixed README conflict, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 772719da34 074/162: Streamlined headline predicates., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar ceb3be1018 088/162: Implement circumvention for plain list syntax checking, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar b366a40451 091/162: Allow for item bullets other than "*" to lack leading spaces., Stefan Kangas, 2021/12/31