helpful

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

commit b9935dea88c116ae67b59b33a4636d0fb23e5993
parent a2fe48573173341fdeed9991b7c62702bc1fee0e
Author: Nick Drozd <nicholasdrozd@gmail.com>
Date:   Fri, 29 Jun 2018 21:11:24 -0500

Minor refactor in -can-edebug-p

callable-p comes before the let binding in the conjunction, so it's
guaranteed to be true when the let binding occurs.

This minor, unimportant change will make a more important change
easier to follow.

Diffstat:
Mhelpful.el | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpful.el b/helpful.el @@ -362,7 +362,7 @@ source code to primitives." (not (helpful--primitive-p sym callable-p)) ;; We need to be able to find its definition, or we can't step ;; through the source. - (-let* (((buf pos opened) (helpful--definition sym t)) + (-let* (((buf pos opened) (helpful--definition sym callable-p)) (have-definition (and buf pos))) (when opened (kill-buffer buf))