summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@paredit.org>2024-11-03 20:46:45 +0000
committerTaylor R Campbell <campbell@paredit.org>2024-11-03 20:46:45 +0000
commitf5a04df896c10ad281c208ebf699850660626f75 (patch)
treea503df4fcc059ab7dd2f838887e03c557b945724
parent89e75b4cb21f525a6f4cabcd12f1bd4204e682ab (diff)
test.el: Pacify unused-variable warnings.
-rw-r--r--test.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/test.el b/test.el
index 895c715..f4ca54b 100644
--- a/test.el
+++ b/test.el
@@ -56,11 +56,11 @@ Four arguments: the paredit command, the text of the buffer
(delete-char -1)
(if (cond ((eq expected 'error)
;++ Check that there are no more expected states.
- (condition-case condition
+ (condition-case _condition
(progn (call-interactively command) nil)
(error t)))
((stringp expected)
- (condition-case condition
+ (condition-case _condition
(progn (call-interactively command)
(insert ?\|)
(string= expected (buffer-string)))
@@ -84,7 +84,7 @@ Four arguments: the paredit command, the text of the buffer
(set (make-local-variable 'show-trailing-whitespace) nil)
(set (make-local-variable 'minibuffer-message-timeout) 0))
-(paredit-do-commands (spec keys command examples)
+(paredit-do-commands (spec _keys command examples)
nil ;string case
;; `paredit-backslash' has a funny example.
(if (not (eq command 'paredit-backslash))
@@ -1882,7 +1882,7 @@ Four arguments: the paredit command, the text of the buffer
("(foo bar| baz)" "foo bar| (baz)")
("(foo bar |baz)" "foo bar (|baz)"))))
-(defun paredit-canary-indent-method (state indent-point normal-indent)
+(defun paredit-canary-indent-method (_state _indent-point _normal-indent)
(check-parens)
nil)