[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/indent-bars 56c4e96637 200/431: Check unfontify-region
From: |
ELPA Syncer |
Subject: |
[elpa] externals/indent-bars 56c4e96637 200/431: Check unfontify-region function before setting region-function |
Date: |
Mon, 16 Sep 2024 12:59:29 -0400 (EDT) |
branch: externals/indent-bars
commit 56c4e966374ec46003c301168a3088199d387c31
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>
Check unfontify-region function before setting region-function
---
indent-bars.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/indent-bars.el b/indent-bars.el
index 7d714a2452..16013b97a2 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -50,11 +50,10 @@
;; To temporarily alter the current style, it's enough to bind the
;; variable `indent-bars-current-style' dynamically.
;;
-;; Note the shorthand substitutions for style related prefixes (slot
-;; accessors and variable; see file-local-variables at the end):
+;; Note the shorthand substitution for style related slot
+;; (see file-local-variables at the end):
;;
;; ibs/ => indent-bars-style-
-;; ibcs => indent-bars-current-style
;;; Code:
;;;; Requires
@@ -1360,7 +1359,9 @@ Adapted from `highlight-indentation-mode'."
(font-lock-flush)
(font-lock-ensure)
- (setq font-lock-unfontify-region-function indent-bars-orig-unfontify-region)
+ (when indent-bars-orig-unfontify-region
+ (setq font-lock-unfontify-region-function
+ indent-bars-orig-unfontify-region))
(setq indent-bars--gutter-rot 0
indent-bars--current-depth 0
indent-bars--styles nil)
- [elpa] externals/indent-bars d4c5d33ebf 408/431: ts: additional with-silent-modifications to ensure buffer unchanged, (continued)
- [elpa] externals/indent-bars d4c5d33ebf 408/431: ts: additional with-silent-modifications to ensure buffer unchanged, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 2afaaa2398 421/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars a86f8eca12 410/431: be more defensive with face-foreground/background, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 6efd53115d 419/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars a31c2f446a 396/431: indent-bars-ts: rename to finalize-jit-lock, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 0456549b9a 427/431: Add sh-mode, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars cf411a485c 181/431: Use timer to rate-limit current depth highlight, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 8f9a4d7cc9 146/431: Minore README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 2cc2f00e8c 172/431: README: mention --with-cairo, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 4dd4e0e8d7 171/431: Bump version, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 56c4e96637 200/431: Check unfontify-region function before setting region-function,
ELPA Syncer <=
- [elpa] externals/indent-bars 13a8d8d370 194/431: indent-bars: reorganize, style struct and alternate styling, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 269774df6d 201/431: Correct bar depth calculation corner case, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 209817a622 414/431: make teardown-functions buffer-local, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars b63c46e6a2 413/431: Make update-depth-function and ppss buffer-local, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 8e9d028811 398/431: Make default bars less obtrusive, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 5ca30b97a7 422/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 4a2e8e1792 426/431: First ELPA version, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars c4c680eb8e 431/431: Update README.md, ELPA Syncer, 2024/09/16