[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master a2b6a5a 112/271: Use defvar-local.
From: |
Jackson Ray Hamilton |
Subject: |
[elpa] master a2b6a5a 112/271: Use defvar-local. |
Date: |
Thu, 05 Feb 2015 18:30:21 +0000 |
branch: master
commit a2b6a5ab21879fa05a7e3e5c166baa7646550734
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>
Use defvar-local.
---
context-coloring.el | 15 +++++----------
1 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/context-coloring.el b/context-coloring.el
index 1795baf..eb8f6ed 100644
--- a/context-coloring.el
+++ b/context-coloring.el
@@ -131,27 +131,22 @@ Increase this if your machine is high-performing.
Decrease it if it ain't."
;;; Local variables
-(defvar context-coloring-buffer nil
+(defvar-local context-coloring-buffer nil
"Reference to this buffer (for timers).")
-(make-variable-buffer-local 'context-coloring-buffer)
-(defvar context-coloring-scopifier-process nil
+(defvar-local context-coloring-scopifier-process nil
"Only allow a single scopifier process to run at a time. This
is a reference to that one process.")
-(make-variable-buffer-local 'context-coloring-scopifier-process)
-(defvar context-coloring-colorize-idle-timer nil
+(defvar-local context-coloring-colorize-idle-timer nil
"Reference to currently-running idle timer.")
-(make-variable-buffer-local 'context-coloring-colorize-idle-timer)
-(defvar context-coloring-changed nil
+(defvar-local context-coloring-changed nil
"Indication that the buffer has changed recently, which would
imply that it should be colorized again.")
-(make-variable-buffer-local 'context-coloring-changed)
-(defvar context-coloring-start-time nil
+(defvar-local context-coloring-start-time nil
"Used to benchmark colorization time.")
-(make-variable-buffer-local 'context-coloring-start-time)
;;; Scopification
- [elpa] master 2341708 132/271: Reorganize JavaScript files., (continued)
- [elpa] master 2341708 132/271: Reorganize JavaScript files., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 4be9ec8 147/271: Documentation., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 16cee40 150/271: Pass test for block scopes., Jackson Ray Hamilton, 2015/02/05
- [elpa] master f7b5d33 143/271: Add skeletal support for js2-mode scopification., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 549e523 149/271: Add failing test for block scopes., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 9f87a03 148/271: Actually colorize complex files., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 76122df 144/271: Write js2 scopifier., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 5fcd757 146/271: Refactor to use more resilient dispatch strategy., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 8982c75 127/271: Merge branch 'feature/tests' into develop, Jackson Ray Hamilton, 2015/02/05
- [elpa] master e06fbe9 158/271: Add comment support for js2-mode., Jackson Ray Hamilton, 2015/02/05
- [elpa] master a2b6a5a 112/271: Use defvar-local.,
Jackson Ray Hamilton <=
- [elpa] master 6c8175e 153/271: Update compilation., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 4f57f0c 163/271: Improve global test., Jackson Ray Hamilton, 2015/02/05
- [elpa] master dc8e99c 130/271: Function name., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 2bb4d12 124/271: More cleanup., Jackson Ray Hamilton, 2015/02/05
- [elpa] master d301048 154/271: Update compilation again., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 1d9cf42 164/271: Refactor tests., Jackson Ray Hamilton, 2015/02/05
- [elpa] master a0ccc5c 162/271: Improve and pass catch test., Jackson Ray Hamilton, 2015/02/05
- [elpa] master c8fa33f 170/271: Improve async benchmarking., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 7954efc 110/271: Rename instances of depth to level., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 338716d 161/271: Refactor., Jackson Ray Hamilton, 2015/02/05