branch: elpa/hl-block-mode
commit 8f66a89196dec2f9b5f9a58b769e64c190493064
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Refactor: change the bracket type to a list of characters
---
hl-block-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hl-block-mode.el b/hl-block-mode.el
index 9a02ffd3aca..af375e31446 100644
--- a/hl-block-mode.el
+++ b/hl-block-mode.el
@@ -49,9 +49,9 @@
"Highlight nested blocks or brackets."
:group 'convenience)
-(defcustom hl-block-bracket "{"
+(defcustom hl-block-bracket (list ?{)
"Characters to use as starting brackets (set to nil to use all brackets)."
- :type '(choice (const nil) string))
+ :type '(choice (const nil) (repeat character)))
(defcustom hl-block-delay 0.2
"Idle time to wait before highlighting (in seconds)."