diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-02-07 01:22:18 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-02-07 20:18:17 +0000 |
commit | 906208799177cf21137eb28f4a6f05cb234fa973 (patch) | |
tree | 449a21fe7e3fe5d8b412fe97c82feeefa6d0fff1 /cider-debug.el | |
parent | 4ff8ed931df37b9dd48514c8a0ea9025fb3411df (diff) |
Consolidate some defun-at-point functions
Diffstat (limited to 'cider-debug.el')
-rw-r--r-- | cider-debug.el | 2 |
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))))) |