commit bb4df37882018265c59e3e80c5b7e579acd87f63
parent 15b3a9a8b0238f349be29d1b0772ff44ca51180e
Author: Wilfred Hughes <me@wilfred.me.uk>
Date: Tue, 5 Sep 2017 21:54:53 +0100
Use helpful-variable when propertizing cross-references
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helpful.el b/helpful.el
@@ -224,7 +224,7 @@ This allows us to distinguish strings from symbols."
(let ((sym (button-get button 'symbol)))
(if (fboundp sym)
(helpful-function sym)
- (describe-variable sym))))
+ (helpful-variable sym))))
(defun helpful--describe-button (sym)
"Return a button that describes SYM."