helpful

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

commit 3e10f703c8de4f1887457106cf72ffc32ad62c1f
parent deb66c4978dd8197149e56d76b9ce3ebd72d98ed
Author: Narendra Joshi <narendraj9@gmail.com>
Date:   Sun, 12 Nov 2017 14:05:14 +0530

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)