commit bfe0aba8939fa60c2542f3722453ffe7805e1532
parent ae7a66703636d06cdce5483ad5c01c958b782d37
Author: Wilfred Hughes <me@wilfred.me.uk>
Date: Fri, 26 May 2017 22:27:21 +0100
Pass the symbol requested, not a constant
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/helpful.el b/helpful.el
@@ -139,8 +139,7 @@ If the source code cannot be found, return the sexp used."
buf-and-pos
;; If it's defined interactively, it may have an edebug property
;; that tells us where it's defined.
- (-when-let (marker
- (get #'helpful--format-position-heads 'edebug))
+ (-when-let (marker (get sym 'edebug))
(cons (marker-buffer marker)
(marker-position marker))))))