branch: elpa/hl-block-mode
commit 77bcd22af7df47048468eda25001d51d68dcd21e
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Change hl-block-delay type from float to number
Using 'number' instead of 'float' allows integer values like 1
in addition to floats like 0.2, which is more flexible.
---
hl-block-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hl-block-mode.el b/hl-block-mode.el
index 29501bca773..e653f63e6fd 100644
--- a/hl-block-mode.el
+++ b/hl-block-mode.el
@@ -55,7 +55,7 @@
(defcustom hl-block-delay 0.2
"Idle time to wait before highlighting (in seconds)."
- :type 'float)
+ :type 'number)
(defcustom hl-block-multi-line nil
"Skip highlighting nested blocks on the same line.