[Top][All Lists]

[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

reply via email to

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