aboutsummaryrefslogtreecommitdiff
path: root/helpful.el
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2018-03-31 19:25:37 +0100
committerWilfred Hughes <me@wilfred.me.uk>2018-03-31 19:26:39 +0100
commit5681a5df8e157d0dae9c99df5455755353a68c8b (patch)
treead9e602761ce3ac4b9c3215282b06bde02050498 /helpful.el
parentf06fe10b07c8011290488db92653beb910e7cfac (diff)
Ensure we can find the definitions of interactively defined functions
Diffstat (limited to 'helpful.el')
-rw-r--r--helpful.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpful.el b/helpful.el
index 26bed3a..ba10567 100644
--- a/helpful.el
+++ b/helpful.el
@@ -895,10 +895,10 @@ If the source code cannot be found, return the sexp used."
(setq source (propertize source
'helpful-path (buffer-file-name buf)
'helpful-pos start-pos
- 'helpful-pos-is-start t))))
- (when (and buf created)
- (kill-buffer buf))
- (throw 'source source))
+ 'helpful-pos-is-start t)))
+ (when (and buf created)
+ (kill-buffer buf))
+ (throw 'source source)))
(when callable-p
;; Could not find source -- probably defined interactively, or via