[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/clojure-ts-mode 6ea4196ebc 3/5: Indicate internal defconst
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/clojure-ts-mode 6ea4196ebc 3/5: Indicate internal defconst with clojure-ts-- prefix |
Date: |
Fri, 15 Sep 2023 00:59:17 -0400 (EDT) |
branch: elpa/clojure-ts-mode
commit 6ea4196ebc4a5fca6df5593e8ed3a45afc4ed593
Author: Danny Freeman <danny@dfreeman.email>
Commit: Danny Freeman <danny@dfreeman.email>
Indicate internal defconst with clojure-ts-- prefix
---
clojure-ts-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clojure-ts-mode.el b/clojure-ts-mode.el
index 6b588e60af..224f3b95b1 100644
--- a/clojure-ts-mode.el
+++ b/clojure-ts-mode.el
@@ -227,7 +227,7 @@ Only intended for use at development time.")
line-end))
"A regular expression matching a symbol used to define a type.")
-(defconst clojure-ts-type-symbol-regexp
+(defconst clojure-ts--type-symbol-regexp
(eval-and-compile
(rx line-start
(or "deftype" "defrecord"
@@ -727,7 +727,7 @@ forms like deftype, defrecord, reify, proxy, etc."
;; auncle: gender neutral sibling of parent, aka child of grandparent
(first-auncle (treesit-node-child grandparent 0 t)))
(and (clojure-ts--list-node-p grandparent)
- (clojure-ts--symbol-matches-p clojure-ts-type-symbol-regexp
+ (clojure-ts--symbol-matches-p clojure-ts--type-symbol-regexp
first-auncle)))))
(defvar clojure-ts--threading-macro