Skip to content

Commit c0743ed

Browse files
committed
Promote with-redefs and with-redefs-fn to clojure-mode
They should be treated like `bindings` and `with-local-vars`.
1 parent 8a13e2a commit c0743ed

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

clojure-mode-extra-font-locking.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"var?" "vary-meta" "vec" "vector" "vector?" "vector-of" "while"
139139
"with-bindings" "with-bindings*" "with-in-str" "with-loading-context"
140140
"with-meta" "with-out-str" "with-precision"
141-
"with-redefs" "with-redefs-fn" "xml-seq" "zero?" "zipmap"
141+
"xml-seq" "zero?" "zipmap"
142142
;; clojure.inspector
143143
"atom?" "collection-tag" "get-child" "get-child-count" "inspect"
144144
"inspect-table" "inspect-tree" "is-leaf" "list-model" "list-provider"

clojure-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ Called by `imenu--generic-function'."
412412
"dosync" "doseq" "dotimes" "dorun" "doall"
413413
"load" "import" "unimport" "ns" "in-ns" "refer"
414414
"with-open" "with-local-vars" "binding"
415+
"with-redefs" "with-redefs-fn"
415416
"gen-class" "gen-and-load-class" "gen-and-save-class"
416417
"handler-case" "handle" "declare") t)
417418
"\\>")

0 commit comments

Comments
 (0)