branch: elpa/cider
commit 11ad6378ce1e2241d1e1fdfe3b9193f0525b5c7f
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Remove unused declare-function statements
- Remove (declare-function cider-mode ...) from cider-xref.el
- Remove (declare-function cider-nrepl-request:eval ...) from
cider-connection.el
- Remove (declare-function cider-classpath-entries ...) from
cider-connection.el
- Remove (declare-function cider-repl-emit-interactive-stderr ...) from
nrepl-client.el
---
lisp/cider-connection.el | 4 ----
lisp/cider-xref.el | 2 --
lisp/nrepl-client.el | 1 -
3 files changed, 7 deletions(-)
diff --git a/lisp/cider-connection.el b/lisp/cider-connection.el
index a5ff8ed92ec..e015f6b457b 100644
--- a/lisp/cider-connection.el
+++ b/lisp/cider-connection.el
@@ -356,8 +356,6 @@ See `cider-connection-capabilities'."
(declare-function cider--debug-init-connection "cider-debug")
(declare-function cider-repl-init "cider-repl")
(declare-function cider-nrepl-op-supported-p "cider-client")
-(declare-function cider-nrepl-request:eval "cider-client")
-
(defun cider--connected-handler ()
"Handle CIDER initialization after nREPL connection has been established.
This function is appended to `nrepl-connected-hook' in the client process
@@ -621,8 +619,6 @@ REPL defaults to the current REPL."
"Figure out if SESSION1 or SESSION2 is more relevant."
(sesman-more-recent-p (cdr session1) (cdr session2)))
-(declare-function cider-classpath-entries "cider-client")
-
(defvar cider-sesman-browser-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "j q") #'cider-quit)
diff --git a/lisp/cider-xref.el b/lisp/cider-xref.el
index 4e65ee6c209..f5745f943cc 100644
--- a/lisp/cider-xref.el
+++ b/lisp/cider-xref.el
@@ -104,8 +104,6 @@ the symbol found by the xref search as argument."
"Can't find the source because it wasn't defined with
`cider-eval-buffer'")))
(error "No source location for %s" name)))
-(declare-function cider-mode "cider-mode")
-
(defun cider-show-xref (summary results)
"Show SUMMARY and RESULTS in a pop-up buffer."
(with-current-buffer (cider-popup-buffer cider-xref-buffer 'select
'apropos-mode 'ancillary)
diff --git a/lisp/nrepl-client.el b/lisp/nrepl-client.el
index 92e0d92151d..247367d816c 100644
--- a/lisp/nrepl-client.el
+++ b/lisp/nrepl-client.el
@@ -928,7 +928,6 @@ the standard session."
(defvar nrepl-ongoing-sync-request nil
"Dynamically bound to t while a sync request is ongoing.")
-(declare-function cider-repl-emit-interactive-stderr "cider-repl")
(declare-function cider--render-stacktrace-causes "cider-eval")
(defun nrepl-send-sync-request (request connection &optional abort-on-input