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

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

[elpa] externals/boxy-headings 8a50fe8 3/7: Added max-visibility option


From: ELPA Syncer
Subject: [elpa] externals/boxy-headings 8a50fe8 3/7: Added max-visibility option
Date: Fri, 15 Oct 2021 10:57:19 -0400 (EDT)

branch: externals/boxy-headings
commit 8a50fe8af7c423398ceb3df2510bc4996b1af5e2
Author: Tyler Grinn <tylergrinn@gmail.com>
Commit: Tyler Grinn <tylergrinn@gmail.com>

    Added max-visibility option
---
 boxy-headings.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/boxy-headings.el b/boxy-headings.el
index 501a7af..22992e4 100644
--- a/boxy-headings.el
+++ b/boxy-headings.el
@@ -85,6 +85,10 @@
   "Default level to display boxes."
   :type 'number)
 
+(defcustom boxy-headings-max-visibility 2
+  "Maximum visibility to show when cycling global visibility."
+  :type 'number)
+
 (defcustom boxy-headings-tooltips t
   "Show tooltips in a boxy diagram."
   :type 'boolean)
@@ -126,7 +130,7 @@
                        &key
                        (display-buffer-fn 'display-buffer-pop-up-window)
                        (visibility boxy-headings-default-visibility)
-                       (max-visibility 2)
+                       (max-visibility boxy-headings-max-visibility)
                        select
                        header
                        (default-margin-x boxy-headings-margin-x)



reply via email to

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