Skip to content

Commit e3f4184

Browse files
author
Bozhidar Batsov
committed
Replace an usage of goto-line
1 parent f0610b5 commit e3f4184

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cider-test.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,8 @@ With the actual value, the outermost '(not ...)' s-expression is removed."
336336
(with-current-buffer buffer
337337
(nrepl-dbind-response test (type line message expected actual)
338338
(save-excursion
339-
(goto-line line)
339+
(goto-char (point-min))
340+
(forward-line (1- line))
340341
(forward-whitespace 1)
341342
(forward-char)
342343
(let ((beg (point)))

0 commit comments

Comments
 (0)