From a27eed0359c7a059e53a726f9e4d18ea94e932d2 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Fri, 10 Dec 2021 22:14:19 -0800 Subject: Don't offer 'find all references' for anonymous lambdas --- helpful.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/helpful.el b/helpful.el index b54914f..3ec6ed9 100644 --- a/helpful.el +++ b/helpful.el @@ -2300,7 +2300,11 @@ state of the current symbol." "\n\n" (helpful--make-references-button helpful--sym helpful--callable-p)) - (when (and helpful--callable-p source (not primitive-p)) + (when (and + helpful--callable-p + (symbolp helpful--sym) + source + (not primitive-p)) (insert " " (helpful--make-callees-button helpful--sym source))) -- cgit v1.0