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

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

[nongnu] elpa/clojure-ts-mode 881756c8f5 14/14: Remove unused function


From: ELPA Syncer
Subject: [nongnu] elpa/clojure-ts-mode 881756c8f5 14/14: Remove unused function
Date: Fri, 8 Sep 2023 18:59:19 -0400 (EDT)

branch: elpa/clojure-ts-mode
commit 881756c8f5f90a763f3c7cbd765c56228f99e1cd
Author: Danny Freeman <danny@dfreeman.email>
Commit: Danny Freeman <danny@dfreeman.email>

    Remove unused function
---
 clojure-ts-mode.el | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/clojure-ts-mode.el b/clojure-ts-mode.el
index 320084845b..b2554e82bb 100644
--- a/clojure-ts-mode.el
+++ b/clojure-ts-mode.el
@@ -662,12 +662,6 @@ forms like deftype, defrecord, reify, proxy, etc."
           clojure-ts--threading-macro
           first-child))))
 
-(defun clojure-ts--threading-macro-arg-offset (node _parent _bol)
-  "Calculates the indentation offset for NODE, a threading macro argument."
-  (if (and node (<= (treesit-node-index node t) 1))
-      1 ;; NODE is the first arg, offset 1 from start of *->> symbol
-    0)) ;; arg 2...n, match indentation of the previous argument
-
 (defun clojure-ts--match-fn-docstring (node)
   "Match NODE when it is a docstring for PARENT function definition node."
    ;; A string that is the third node in a function defn block



reply via email to

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