[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hl-block-mode 9f39593c4f 19/64: make hl-bock-mode lighter
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hl-block-mode 9f39593c4f 19/64: make hl-bock-mode lighter customizable |
Date: |
Thu, 7 Jul 2022 12:00:05 -0400 (EDT) |
branch: elpa/hl-block-mode
commit 9f39593c4f0d4c34265d0c81c460aeb237988059
Author: riscy <riscy@users.noreply.github.com>
Commit: riscy <riscy@users.noreply.github.com>
make hl-bock-mode lighter customizable
---
hl-block-mode.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/hl-block-mode.el b/hl-block-mode.el
index 5be0ab6582..7e3220be48 100644
--- a/hl-block-mode.el
+++ b/hl-block-mode.el
@@ -52,6 +52,11 @@ Set to nil to use all brackets."
:group 'hl-block-mode
:type 'float)
+(defcustom hl-block-mode-lighter ""
+ "Lighter for hl-block-mode."
+ :group 'hl-block-mode
+ :type 'string)
+
(defun hl-block--syntax-prev-bracket (pt)
"A version of `syntax-ppss' to match curly braces.
PT is typically the '(point)'."
@@ -163,7 +168,7 @@ This can happen when switching buffers."
(define-minor-mode hl-block-mode
"Highlight block under the cursor."
:global nil
- :lighter ""
+ :lighter hl-block-mode-lighter
(cond (hl-block-mode
(jit-lock-unregister 'hl-block-mode-enable)
(hl-block-mode-enable))
- [nongnu] elpa/hl-block-mode 497b0ac639 48/64: Cleanup: re-order custom settings, (continued)
- [nongnu] elpa/hl-block-mode 497b0ac639 48/64: Cleanup: re-order custom settings, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 859d3cac49 51/64: readme: update example, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode da2870d1d7 24/64: Update readme.rst, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 82f42045c1 31/64: Enable lexical binding, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode dc5b0153bb 35/64: Cleanup: byte-code compilation warnings, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 4e28df960d 40/64: Remove local variables when disabling the mode, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode d47c372b06 03/64: Update readme.rst, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode f763fff94e 09/64: Follow lisp and emacs-lisp conventions, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode b98c83d8cb 14/64: Add global-hl-block-mode, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 326e026b66 13/64: Use character literal for '{', ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 9f39593c4f 19/64: make hl-bock-mode lighter customizable,
ELPA Syncer <=
- [nongnu] elpa/hl-block-mode 00914d2938 22/64: Reduce default delay to 200ms, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 74b5a89360 23/64: FIx typo, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 0f1abe46d5 27/64: Apply auto-format, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 59cdbd4d27 39/64: Use "push" instead of add-to-list, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 0ea43d3202 34/64: Cleanup: disable auto-load for internal function, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 27e3ab4195 42/64: Cleanup: minor naming changes, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 59458a4b2b 54/64: Initialize brackets from the syntax table, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 81c692d654 55/64: Cleanup: define a group with defgroup, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode a165ce51fb 56/64: Fix bracket draw style highlighting point-min/max, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 5f532fef33 12/64: Cleanup: indentation, ELPA Syncer, 2022/07/07