branch: elpa/clojure-mode
commit 2f274424a17a1dae7032a32b33447b5e02f9ccad
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Add missing clojure.core functions to extra font-locking
Add functions introduced in Clojure 1.10 (tap>, add-tap, remove-tap)
and 1.11 (abs, NaN?, infinite?, parse-boolean, parse-double, parse-long,
parse-uuid, random-uuid, update-keys, update-vals, iteration).
---
clojure-mode-extra-font-locking.el | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/clojure-mode-extra-font-locking.el
b/clojure-mode-extra-font-locking.el
index 15fba98d2e..a082097f3e 100644
--- a/clojure-mode-extra-font-locking.el
+++ b/clojure-mode-extra-font-locking.el
@@ -43,8 +43,10 @@
(defvar clojure-built-in-vars
'(
;; clojure.core
+ "abs"
"accessor"
"aclone"
+ "add-tap"
"agent"
"agent-errors"
"aget"
@@ -226,6 +228,7 @@
"indexed?"
"ifn?"
"inc"
+ "infinite?"
"init-proxy"
"instance?"
"inst-ms"
@@ -241,6 +244,7 @@
"into-array"
"ints"
"isa?"
+ "iteration"
"iterate"
"iterator-seq"
"juxt"
@@ -284,6 +288,7 @@
"mix-collection-hash"
"mod"
"name"
+ "NaN?"
"namespace"
"nat-int?"
"neg-int?"
@@ -317,6 +322,10 @@
"object-array"
"odd?"
"parents"
+ "parse-boolean"
+ "parse-double"
+ "parse-long"
+ "parse-uuid"
"partial"
"partition"
"partition-all"
@@ -361,6 +370,7 @@
"rand"
"rand-int"
"rand-nth"
+ "random-uuid"
"range"
"ratio?"
"rational?"
@@ -392,6 +402,7 @@
"remove-all-methods"
"remove-method"
"remove-ns"
+ "remove-tap"
"remove-watch"
"repeat"
"repeatedly"
@@ -472,6 +483,7 @@
"take-last"
"take-nth"
"take-while"
+ "tap>"
"test"
"the-ns"
"thread-bound?"
@@ -510,7 +522,9 @@
"unquote-splicing"
"update"
"update-in"
+ "update-keys"
"update-proxy"
+ "update-vals"
"uri?"
"use"
"uuid?"