branch: elpa/hl-block-mode
commit 873e958599e0bb51ff850075da5e26f8db1e84c1
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Style: use #' for function quoting
Using #' instead of ' for function references enables better
byte-compilation warnings and catches typos at compile time.
---
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 cdb0f8bf438..40096e4f86d 100644
--- a/hl-block-mode.el
+++ b/hl-block-mode.el
@@ -265,7 +265,7 @@ Argument BLOCK-LIST represents start-end ranges of braces."
(defun hl-block--overlay-clear ()
"Clear all overlays."
(declare (important-return-value nil))
- (mapc 'delete-overlay hl-block--overlay)
+ (mapc #'delete-overlay hl-block--overlay)
(setq hl-block--overlay nil))
@@ -371,7 +371,7 @@ Argument BLOCK-LIST represents start-end ranges of braces."
(state
(unless hl-block--global-timer
(setq hl-block--global-timer
- (run-with-idle-timer hl-block-delay :repeat
'hl-block--time-callback-or-disable))))
+ (run-with-idle-timer hl-block-delay :repeat
#'hl-block--time-callback-or-disable))))
(t
(when hl-block--global-timer
(cancel-timer hl-block--global-timer)