Skip to content

Commit 1875ea3

Browse files
yuhan0bbatsov
authored andcommitted
Fix lint errors
1 parent 3341d19 commit 1875ea3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

cider-eval.el

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ buffer."
994994
(cider--nrepl-pr-request-map))))
995995

996996
(defun cider-eval-list-at-point (&optional output-to-current-buffer)
997-
"Evaluate the list (eg. a function call, surrounded by parens) around point.
997+
"Evaluate the list (eg. a function call, surrounded by parens) around point.
998998
If invoked with OUTPUT-TO-CURRENT-BUFFER, output the result to current buffer."
999999
(interactive "P")
10001000
(save-excursion
@@ -1015,8 +1015,7 @@ That's set by commands like `cider-eval-last-sexp-in-context'.")
10151015

10161016

10171017
(defun cider--guess-eval-context ()
1018-
"Return the context suitable for input to `cider--eval-in-context'
1019-
by extracting all parent let bindings."
1018+
"Return context for `cider--eval-in-context' by extracting all parent let bindings."
10201019
(save-excursion
10211020
(let ((res ""))
10221021
(condition-case er
@@ -1034,7 +1033,8 @@ by extracting all parent let bindings."
10341033
(scan-error res)))))
10351034

10361035
(defun cider--eval-in-context (bounds &optional guess)
1037-
"Evaluate code at BOUNDS in user-provided evaluation context."
1036+
"Evaluate code at BOUNDS in user-provided evaluation context.
1037+
When GUESS is non-nil, attempt to extract the context from parent let-bindings."
10381038
(let* ((code (string-trim-right
10391039
(buffer-substring-no-properties (car bounds) (cadr bounds))))
10401040
(eval-context
@@ -1055,7 +1055,7 @@ The context is just a let binding vector (without the brackets).
10551055
The context is remembered between command invocations.
10561056
10571057
When GUESS is non-nil, or called interactively with \\[universal-argument],
1058-
attempt to guess the context from parent let bindings."
1058+
attempt to extract the context from parent let-bindings."
10591059
(interactive "P")
10601060
(cider--eval-in-context (cider-last-sexp 'bounds) guess))
10611061

@@ -1066,7 +1066,7 @@ The context is just a let binding vector (without the brackets).
10661066
The context is remembered between command invocations.
10671067
10681068
When GUESS is non-nil, or called interactively with \\[universal-argument],
1069-
attempt to guess the context from parent let bindings."
1069+
attempt to extract the context from parent let-bindings."
10701070
(interactive "P")
10711071
(cider--eval-in-context (cider-sexp-at-point 'bounds) guess))
10721072

cider-find.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Show results in a different window if OTHER-WINDOW is true."
109109
(defun cider-find-dwim (symbol-file)
110110
"Find and display the SYMBOL-FILE at point.
111111
SYMBOL-FILE could be a var or a resource. If thing at point is empty then
112-
show dired on project. If var is not found, try to jump to resource of the
112+
show Dired on project. If var is not found, try to jump to resource of the
113113
same name. When called interactively, a prompt is given according to the
114114
variable `cider-prompt-for-symbol'. A single or double prefix argument
115115
inverts the meaning. A prefix of `-' or a double prefix argument causes

0 commit comments

Comments
 (0)