summaryrefslogtreecommitdiff
path: root/cider-stacktrace.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-09-20 14:55:27 +0100
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-09-23 12:41:56 +0100
commitffe67d966da2da8a8be34c667fffc7951d451b6b (patch)
treea10d466f4d3c915ee9f15b80f9db7556966c3fa5 /cider-stacktrace.el
parent574d49f8bff6abab0e0efe4898ebe4acb6f104c8 (diff)
Fix a shadowed variable and a bad function warning
Diffstat (limited to 'cider-stacktrace.el')
-rw-r--r--cider-stacktrace.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/cider-stacktrace.el b/cider-stacktrace.el
index 2de40d8a..38564d47 100644
--- a/cider-stacktrace.el
+++ b/cider-stacktrace.el
@@ -521,7 +521,8 @@ MESSAGE is parsed to find line, col and buffer name to jump to."
(if the-buf-window
(select-window the-buf-window)
(switch-to-buffer buf-name)))
- (goto-line line)
+ (goto-char (point-min))
+ (forward-line line)
(move-to-column col t)))))))
(defun cider-stacktrace-render-cause (buffer cause num note)