[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/indent-bars 4583e3e9f5 240/431: Add reset to enable-the
From: |
ELPA Syncer |
Subject: |
[elpa] externals/indent-bars 4583e3e9f5 240/431: Add reset to enable-theme-functions |
Date: |
Mon, 16 Sep 2024 12:59:32 -0400 (EDT) |
branch: externals/indent-bars
commit 4583e3e9f507143cd4241131b77fc5e8b1722bbf
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>
Add reset to enable-theme-functions
---
indent-bars.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/indent-bars.el b/indent-bars.el
index 91b38de439..24dcc83a2f 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1248,7 +1248,7 @@ Adapted from `highlight-indentation-mode'."
(remove-hook 'font-lock-extend-region-functions
#'indent-bars--extend-blank-line-regions t))
-(defun indent-bars-reset ()
+(defun indent-bars-reset (&rest _r)
"Reset indent-bars config."
(interactive)
(indent-bars-teardown)
@@ -1273,6 +1273,10 @@ Adapted from `highlight-indentation-mode'."
(indent-bars-setup))
(indent-bars-teardown)))
+;; Theme support
+(if (boundp 'enable-theme-functions)
+ (add-hook 'enable-theme-functions #'indent-bars-reset))
+
(provide 'indent-bars)
;;; indent-bars.el ends here
- [elpa] externals/indent-bars 9cf88e1403 176/431: Update README.md, (continued)
- [elpa] externals/indent-bars 9cf88e1403 176/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars edab5ee530 203/431: Comment/docstring improvements, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars ce84791086 208/431: Teardown TS forms and PCH on main mode teardown, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 902713b115 198/431: create new -form vars for font-lock keyword callback flexibility, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 4d4f041cfc 205/431: Make sure beg/end markers point somewhere, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars a6dbf67f74 245/431: Section rename/unused var cleanup, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars fffa4fe52d 236/431: Tweak remap removal., ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 19dd505850 242/431: Reorg stipple display section, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 08fbce35de 214/431: Move treesitter setup above resize (which uses it), ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 070ab26c6d 197/431: new 'force option for init-scope, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 4583e3e9f5 240/431: Add reset to enable-theme-functions,
ELPA Syncer <=
- [elpa] externals/indent-bars 301c97550b 219/431: Correctly initialize 'color alt custom (unspecified), ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 315aaaab74 232/431: Correct calls to depth-palette/get-color with STYLE, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars c86c2b670e 213/431: Correctly remove local after-make-frame hook function, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 7b75957588 228/431: Add Nix language support, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 3d5bfe678d 222/431: Set markers only after computing flush ranges, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 9dbfcd8003 259/431: Make default stipple pattern more compact, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 6e864e049e 267/431: Disable auto-theme support for now, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 595b856e12 248/431: De-duplicate seen styles in case a style is re-initialized, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars f7686245cb 264/431: Do set default stipple face attributes: all now via filtered remap, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 4691ab75cc 246/431: Update font-lock expressions to include boundaries are arguments, ELPA Syncer, 2024/09/16