emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/org-superstar 8bfe6354d9 138/162: Updated documentation to


From: Stefan Kangas
Subject: [nongnu] elpa/org-superstar 8bfe6354d9 138/162: Updated documentation to address Issue #21.
Date: Fri, 31 Dec 2021 19:35:38 -0500 (EST)

branch: elpa/org-superstar
commit 8bfe6354d9168a58833df4d67204c05f7a30138e
Author: D. Williams <d.williams@posteo.net>
Commit: D. Williams <d.williams@posteo.net>

    Updated documentation to address Issue #21.
---
 README.org         | 3 +++
 org-superstar.el   | 5 +++--
 tests/issue-21.org | 9 +--------
 3 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/README.org b/README.org
index 5d8b33b162..c4e64a90a6 100644
--- a/README.org
+++ b/README.org
@@ -186,6 +186,9 @@ used, allowing the user to inherit the level-dependent 
default look.
       (setq org-hide-leading-stars nil)
       ;; This line is necessary.
       (setq org-superstar-leading-bullet ?\s)
+      ;; If you use Org Indent you also need to add this, otherwise the
+      ;; above has no effect while Indent is enabled.
+      (setq org-indent-mode-turns-on-hiding-stars nil)
     #+END_SRC
 
     If you want to get rid of the indentation caused by leading stars
diff --git a/org-superstar.el b/org-superstar.el
index 4d997a814f..5541d60b2c 100644
--- a/org-superstar.el
+++ b/org-superstar.el
@@ -256,8 +256,9 @@ COMPONENTS argument.
 
 If ‘org-hide-leading-stars’ is nil, leading stars in a headline
 are represented as a sequence of this bullet using the face
-‘org-superstar-leading’.  Otherwise, this variable has no effect and
-‘org-mode’ covers leading stars using ‘org-hide’.
+‘org-superstar-leading’.  Otherwise, this variable has no effect
+and ‘org-mode’ covers leading stars using ‘org-hide’.  See also
+‘org-indent-mode-turns-on-hiding-stars’.
 
 This variable is only used for graphical displays.
 ‘org-superstar-leading-fallback’ is used for terminal displays
diff --git a/tests/issue-21.org b/tests/issue-21.org
index ba99e5386d..d8af203edf 100644
--- a/tests/issue-21.org
+++ b/tests/issue-21.org
@@ -1,14 +1,7 @@
-##+STARTUP: noindent
 #+STARTUP: indent
-#+TITLE: MWE
+#+TITLE:MWE
 * 1
-  sample text
 ** 2
-   sample text
 *** 3 sample text
 **** 4
 ***** 5
-******* 7
-********* 9
-************ 12
-******************** 20



reply via email to

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