[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-superstar 01dad8e3ca 030/162: removed ridiculous warni
From: |
Stefan Kangas |
Subject: |
[nongnu] elpa/org-superstar 01dad8e3ca 030/162: removed ridiculous warning. |
Date: |
Fri, 31 Dec 2021 19:35:21 -0500 (EST) |
branch: elpa/org-superstar
commit 01dad8e3cae6b0bfc6abbf30685d8227b9323f5d
Author: D. Williams <d.williams@posteo.net>
Commit: D. Williams <d.williams@posteo.net>
removed ridiculous warning.
---
tests/composure-test.el | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/tests/composure-test.el b/tests/composure-test.el
index b92c1fa7d2..a3b84da4ba 100644
--- a/tests/composure-test.el
+++ b/tests/composure-test.el
@@ -5,14 +5,9 @@
;; This file purposefully breaks naming conventions to indicate that
;; it is *NOT* part of the main package.
-;; WARNING: This testing package is *not* suitable for any purpose
-;; other than testing org-superstar-mode. ONLY use this code on a
-;; clean Emacs install ("emacs -Q") and ONLY keep the Emacs session
-;; running for as long as you need to. DO NOT use an Emacs session
-;; loading this file for everyday editing.
-
-;; THIS FILE ADVISES EMACS INTERNALS FOR DEBUGGING PURPOSES ONLY.
-;; USE AT YOUR OWN RISK.
+;; Load this file with a minimal setup to confirm that composition
+;; works as intended. You can dismiss all advices applied by calling
+;; ‘org-superstar/dismiss-composure’.
;;; Code:
@@ -113,10 +108,17 @@ Ensure the return value is a face or nil. Also toggle
(advice-add symbol
:around #'org-superstar/wrap-prettify))))))
+
+(defun org-superstar/dismiss-composure ()
+ "Remove all advices added by composure-test."
+ (interactive)
+ (advice-remove 'compose-region #'org-superstar/comp-test)
+ (dolist (symbol org-superstar/comp-listeners)
+ (advice-remove symbol #'org-superstar/wrap-prettify)))
+
;; listen in on compose-region
(advice-add 'compose-region :before #'org-superstar/comp-test)
;; advise prettifyers
-
(dolist (symbol org-superstar/comp-listeners)
(org-superstar/toggle-listener symbol))
- [nongnu] elpa/org-superstar 7cf89bda74 126/162: Update README to signify upcoming version bump, (continued)
- [nongnu] elpa/org-superstar 7cf89bda74 126/162: Update README to signify upcoming version bump, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 4e5bccbb2b 128/162: Adding demos for Org Superstar., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 1f3648dbe5 127/162: Adding demo screenshots., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 7e763a5466 131/162: Merge branch 'master' into volatile, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 72cc899d87 130/162: Updating sample file, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 3935ecf7b4 137/162: Add example files for Issue #21, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 84362aeccb 140/162: Updating README to promote new template repo., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 046f845dfe 142/162: Add TODO test case., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar d2abbbb714 156/162: disable org-superstar in org source code block, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 2cd3f1e74b 160/162: Merge pull request #31 from andersjohansson/avoid-empty-font-lock-keyword, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 01dad8e3ca 030/162: removed ridiculous warning.,
Stefan Kangas <=
- [nongnu] elpa/org-superstar 762fa160fd 114/162: Clarified position of string value in custom interface., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 930a887430 111/162: Add support for extra-wide headline bullets + terminal fallback., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 66e593a8b7 102/162: Support advanced composition for TODO item bullets., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 27e90eece5 124/162: Implement org-indent compatibility, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 48660e9269 120/162: Updated news regarding Doom and Spacemacs, updated FAQ., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar cfb98c0de6 123/162: updating .gitignore, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 6673412725 132/162: Updating README to signify changes, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 2800b83e88 133/162: Version Bump., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 7f83636db2 136/162: Update README for absolutely astonishing 33k+ dls on MELPA, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar a5af8b6ddf 141/162: Remove example files from #21., Stefan Kangas, 2021/12/31