[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
- [elpa] externals/indent-bars a31c2f446a 396/431: indent-bars-ts: rename to finalize-jit-lock, (continued)
- [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, 2024/09/16
- [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 <=
- [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