summaryrefslogtreecommitdiff
path: root/cider-debug.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2016-02-07 01:22:18 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2016-02-07 20:18:17 +0000
commit906208799177cf21137eb28f4a6f05cb234fa973 (patch)
tree449a21fe7e3fe5d8b412fe97c82feeefa6d0fff1 /cider-debug.el
parent4ff8ed931df37b9dd48514c8a0ea9025fb3411df (diff)
Consolidate some defun-at-point functions
Diffstat (limited to 'cider-debug.el')
-rw-r--r--cider-debug.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-debug.el b/cider-debug.el
index 08c5364f..e210c403 100644
--- a/cider-debug.el
+++ b/cider-debug.el
@@ -242,7 +242,7 @@ Each element of LOCALS should be a list of at least two elements."
'before-string (cider--debug-prompt input-type))
(setq cider--debug-prompt-overlay
(cider--make-overlay
- (max (cider-defun-at-point-start-pos)
+ (max (car (cider-defun-at-point 'bounds))
(window-start))
nil 'debug-prompt
'before-string (cider--debug-prompt input-type)))))