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

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

[elpa] master fa99117 06/16: Add defcustom types.


From: Jackson Ray Hamilton
Subject: [elpa] master fa99117 06/16: Add defcustom types.
Date: Sun, 18 Oct 2015 11:21:41 +0000

branch: master
commit fa991178d36a7a52618be1cc9d24e6621e5a2c0d
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>

    Add defcustom types.
---
 context-coloring.el |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/context-coloring.el b/context-coloring.el
index a29c7eb..055e721 100644
--- a/context-coloring.el
+++ b/context-coloring.el
@@ -184,6 +184,7 @@ START, END and LENGTH are recorded for later use."
 
 Increase this if your machine is high-performing.  Decrease it if
 it ain't."
+  :type 'float
   :group 'context-coloring)
 
 (make-obsolete-variable
@@ -248,10 +249,12 @@ it ain't."
 
 (defcustom context-coloring-syntactic-comments t
   "If non-nil, also color comments using `font-lock'."
+  :type 'boolean
   :group 'context-coloring)
 
 (defcustom context-coloring-syntactic-strings t
   "If non-nil, also color strings using `font-lock'."
+  :type 'boolean
   :group 'context-coloring)
 
 (defun context-coloring-font-lock-syntactic-comment-function (state)
@@ -308,6 +311,8 @@ are scoped to a file (as in Node.js), set this to `1'."
 
 The block-scoped `let' and `const' are introduced in ES6.  Enable
 this for ES6 code; disable it elsewhere."
+  :type 'boolean
+  :safe #'booleanp
   :group 'context-coloring)
 
 (make-obsolete-variable



reply via email to

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