branch: externals/indent-bars
commit 6e864e049e65b060ddde5629c4d0909391a6c7d8
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>

    Disable auto-theme support for now
    
    The global addition to enable-theme-functions caused teardown to run
    even in buffers for which indent-bars is not enabled.  The right
    solution is to factor out global faces and redefine those (only) on
    theme change; this will be part of v0.5.
---
 indent-bars.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/indent-bars.el b/indent-bars.el
index 24dcc83a2f..1a8422ad00 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1274,8 +1274,8 @@ Adapted from `highlight-indentation-mode'."
     (indent-bars-teardown)))
 
 ;; Theme support
-(if (boundp 'enable-theme-functions)
-    (add-hook 'enable-theme-functions #'indent-bars-reset))
+;; (if (boundp 'enable-theme-functions)
+;;     (add-hook 'enable-theme-functions #'indent-bars-reset))
 
 (provide 'indent-bars)
 

Reply via email to