summaryrefslogtreecommitdiff
path: root/cider-util.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2015-08-09 12:40:48 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2015-08-09 12:40:48 +0300
commit3dd8d94a6ac01fede6bb8e9618392358d79af713 (patch)
tree9b123390d00f213d7ba1ccdd6cbda4fe79ca3769 /cider-util.el
parent67ab67dab1e0ea5064b3a354bbcce7c9db068ba5 (diff)
Convert cider-font-lock-max-length to a defcustom
Diffstat (limited to 'cider-util.el')
-rw-r--r--cider-util.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/cider-util.el b/cider-util.el
index 8cd348df..0b95fca4 100644
--- a/cider-util.el
+++ b/cider-util.el
@@ -34,10 +34,13 @@
(require 'cl-lib)
(require 'clojure-mode)
-(defconst cider-font-lock-max-length 10000
+(defcustom cider-font-lock-max-length 10000
"The max length of strings to fontify in `cider-font-lock-as'.
-Setting this to nil removes the fontification restriction.")
+Setting this to nil removes the fontification restriction."
+ :group 'cider
+ :type 'boolean
+ :package-version '(cider . "0.10.0"))
(defun cider-util--hash-keys (hashtable)
"Return a list of keys in HASHTABLE."