helpful

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

commit 7b02a56f98867069403632cc9a874f0e160ff983
parent a703e0837756871ed333a9a40c00a625e5d61387
Author: Wilfred Hughes <me@wilfred.me.uk>
Date:   Thu, 16 Nov 2017 22:12:56 +0000

Merge pull request #53 from narendraj9/master

Fix helpful-find-var for variables defined in C-Source
Diffstat:
Mhelpful.el | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/helpful.el b/helpful.el @@ -378,8 +378,7 @@ for cleaning up." (cons (marker-buffer marker) (marker-position marker)))))) (when (not callable-p) - (-when-let (filename (find-lisp-object-file-name sym 'defvar)) - (setq buf-and-pos (find-variable-noselect sym filename)))) + (setq buf-and-pos (find-definition-noselect sym 'defvar))) buf-and-pos)) (defun helpful--source-path (sym callable-p)