branch: elpa/cider
commit 255a5a3915b5a58b3c246af326aa621ffceeb1bd
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Remove dead code
---
 cider-util.el | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/cider-util.el b/cider-util.el
index 6e752918b2e..1536ad1ffa7 100644
--- a/cider-util.el
+++ b/cider-util.el
@@ -104,13 +104,6 @@ which nREPL uses for temporary evaluation file names."
   (let ((fname (file-name-nondirectory file-name)))
     (string-match-p "^form-init" fname)))
 
-(defun cider--cljc-buffer-p (&optional buffer)
-  "Return non-nil if the current buffer is visiting a cljc file.
-
-If BUFFER is provided act on that buffer instead."
-  (with-current-buffer (or buffer (current-buffer))
-    (or (cider-clojurec-major-mode-p))))
-
 (defun cider-keyword-at-point-p (&optional point)
   "Return non-nil if POINT is in a Clojure keyword.
 

Reply via email to