helpful

a fork of Wilfred's helpful
git clone https://git.trogloxene.org/helpful.git
Log | Files | Refs | README

commit 0c9f07d0f6af08428092d322355a0d00c5033d7a
parent 4c229bed9d0944f7dcfd09b010f0686b7e067fb8
Author: Wilfred Hughes <me@wilfred.me.uk>
Date:   Thu, 16 Nov 2017 22:20:31 +0000

Update tests broken in 3e10f70

Diffstat:
Mhelpful.el | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/helpful.el b/helpful.el @@ -378,7 +378,9 @@ for cleaning up." (cons (marker-buffer marker) (marker-position marker)))))) (when (not callable-p) - (setq buf-and-pos (find-definition-noselect sym 'defvar))) + (condition-case err + (setq buf-and-pos (find-definition-noselect sym 'defvar)) + (search-failed nil))) buf-and-pos)) (defun helpful--source-path (sym callable-p)