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

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

[nongnu] elpa/rainbow-delimiters e50e4787b4 144/188: Turn rainbow-delimi


From: ELPA Syncer
Subject: [nongnu] elpa/rainbow-delimiters e50e4787b4 144/188: Turn rainbow-delimiters-max-face-count into a defcustom.
Date: Sat, 1 Jan 2022 00:59:00 -0500 (EST)

branch: elpa/rainbow-delimiters
commit e50e4787b4087d9b372b4d3b51a2ec48d627fe1b
Author: Fanael Linithien <fanael4@gmail.com>
Commit: Fanael Linithien <fanael4@gmail.com>

    Turn rainbow-delimiters-max-face-count into a defcustom.
---
 rainbow-delimiters.el | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/rainbow-delimiters.el b/rainbow-delimiters.el
index f9c4cc9f75..57a25f05f2 100644
--- a/rainbow-delimiters.el
+++ b/rainbow-delimiters.el
@@ -129,10 +129,15 @@ Delimiters in this list are not highlighted."
       `(progn ,@faces))))
 (rainbow-delimiters--define-depth-faces)
 
-(defconst rainbow-delimiters-max-face-count 9
+(defcustom rainbow-delimiters-max-face-count 9
   "Number of faces defined for highlighting delimiter levels.
 
-Determines depth at which to cycle through faces again.")
+Determines depth at which to cycle through faces again.
+
+It's safe to change this variable provided that for all integers from 1 to the
+new value inclusive, a face `rainbow-delimiters-depth-N-face' is defined."
+  :type 'integer
+  :group 'rainbow-delimiters)
 
 (defcustom rainbow-delimiters-outermost-only-face-count 0
   "Number of faces to be used only for N outermost delimiter levels.



reply via email to

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