[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hl-block-mode dc5b0153bb 35/64: Cleanup: byte-code compila
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hl-block-mode dc5b0153bb 35/64: Cleanup: byte-code compilation warnings |
Date: |
Thu, 7 Jul 2022 12:00:07 -0400 (EDT) |
branch: elpa/hl-block-mode
commit dc5b0153bbc4c5d2ca7cadaa48075a9ebccebf12
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Cleanup: byte-code compilation warnings
---
hl-block-mode.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/hl-block-mode.el b/hl-block-mode.el
index 0c61fd2236..bcd12f1261 100644
--- a/hl-block-mode.el
+++ b/hl-block-mode.el
@@ -1,6 +1,6 @@
;;; hl-block-mode.el --- highlighting nested blocks -*- lexical-binding: t -*-
-;; Copyright (C) 2019 Campbell Barton
+;; Copyright (C) 2019-2021 Campbell Barton
;; Author: Campbell Barton <ideasman42@gmail.com>
@@ -54,7 +54,7 @@ Set to nil to use all brackets."
:type 'float)
(defcustom hl-block-mode-lighter ""
- "Lighter for hl-block-mode."
+ "Lighter for `hl-block-mode'."
:group 'hl-block-mode
:type 'string)
@@ -145,7 +145,7 @@ Inverse of `color-values'."
(defun hl-block--overlay-refresh-from-timer ()
"Ensure this mode has not been disabled before highlighting.
This can happen when switching buffers."
- (when hl-block-mode
+ (when (bound-and-true-p hl-block-mode)
(hl-block--overlay-refresh)))
(defun hl-block--overlay-delay ()
@@ -168,7 +168,7 @@ This can happen when switching buffers."
(defun hl-block-mode-turn-on ()
"Enable command `hl-block-mode'."
- (when (and (not (minibufferp)) (not hl-block-mode))
+ (when (and (not (minibufferp)) (not (bound-and-true-p hl-block-mode)))
(hl-block-mode 1)))
;;;###autoload
- [nongnu] elpa/hl-block-mode f957c01cf8 06/64: Docs: add missing sections to header, (continued)
- [nongnu] elpa/hl-block-mode f957c01cf8 06/64: Docs: add missing sections to header, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 054dc21949 08/64: Enforce use of spaces for indentation, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode bb35a6c56b 47/64: Add hl-block-single-level & hl-block-style, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 54ab1d6aba 60/64: Fix bracket display highlighting a character next to (point), ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode 395c7315b7 11/64: Add option to match different bracket types, ELPA Syncer, 2022/07/07
- [nongnu] elpa/hl-block-mode ed4a599ead 38/64: Cleanup: quiet checkdoc & package lint warnings, ELPA Syncer, 2022/07/07
- [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 <=
- [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, 2022/07/07
- [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