emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/indent-bars b63c46e6a2 413/431: Make update-depth-funct


From: ELPA Syncer
Subject: [elpa] externals/indent-bars b63c46e6a2 413/431: Make update-depth-function and ppss buffer-local
Date: Mon, 16 Sep 2024 12:59:56 -0400 (EDT)

branch: externals/indent-bars
commit b63c46e6a26c40d92cadf35338fe98bf2107bf8b
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    Make update-depth-function and ppss buffer-local
    
    Fixes #51
---
 indent-bars.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/indent-bars.el b/indent-bars.el
index 5d766b9c41..8e3a68f740 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -934,8 +934,8 @@ Skips any fully blank lines."
        (max (current-indentation) b)
       (goto-char p))))
 
-(defvar indent-bars--update-depth-function nil)
-(defvar indent-bars--ppss nil)
+(defvar-local indent-bars--update-depth-function nil)
+(defvar-local indent-bars--ppss nil)
 (defun indent-bars--current-indentation-depth (&optional on-bar)
   "Calculate current indentation depth.
 If ON-BAR is nil, return the depth of the last visible bar on the



reply via email to

[Prev in Thread] Current Thread [Next in Thread]