Skip to content

Commit 6792ca8

Browse files
author
Bozhidar Batsov
committed
Take care of a few unused variable warnings
1 parent e3f4184 commit 6792ca8

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

cider-repl.el

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,13 @@ If BACKWARD is non-nil search backward."
293293
(defun cider-repl-mode-beginning-of-defun (&optional arg)
294294
(if (and arg (< arg 0))
295295
(cider-repl-mode-end-of-defun (- arg))
296-
(dotimes (i (or arg 1))
296+
(dotimes (_ (or arg 1))
297297
(cider-repl-previous-prompt))))
298298

299299
(defun cider-repl-mode-end-of-defun (&optional arg)
300300
(if (and arg (< arg 0))
301301
(cider-repl-mode-beginning-of-defun (- arg))
302-
(dotimes (i (or arg 1))
302+
(dotimes (_ (or arg 1))
303303
(cider-repl-next-prompt))))
304304

305305
(defun cider-repl-beginning-of-defun ()
@@ -420,14 +420,12 @@ If BOL is non-nil, emit at the beginning of the line."
420420
(cider-repl-emit-output-at-pos buffer string face cider-repl-input-start-mark bol)
421421
(ansi-color-apply-on-region pos (point-max)))))
422422

423-
(defun cider-repl-emit-output (buffer string &optional bol)
424-
"Using BUFFER, emit STRING as standard output.
425-
If BOL is non-nil, emit at the beginning of the line."
423+
(defun cider-repl-emit-output (buffer string)
424+
"Using BUFFER, emit STRING as standard output."
426425
(cider-repl--emit-output buffer string 'cider-repl-output-face))
427426

428-
(defun cider-repl-emit-err-output (buffer string &optional bol)
429-
"Using BUFFER, emit STRING as error output.
430-
If BOL is non-nil, emit at the beginning of the line."
427+
(defun cider-repl-emit-err-output (buffer string)
428+
"Using BUFFER, emit STRING as error output."
431429
(cider-repl--emit-output buffer string 'cider-repl-err-output-face))
432430

433431
(defun cider-repl-emit-prompt (buffer)

0 commit comments

Comments
 (0)