aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2017-09-05 21:54:53 +0100
committerWilfred Hughes <me@wilfred.me.uk>2017-09-05 21:54:53 +0100
commitbb4df37882018265c59e3e80c5b7e579acd87f63 (patch)
tree7a76be25571b79a58aa4c7f1537549196e0c6adf
parent15b3a9a8b0238f349be29d1b0772ff44ca51180e (diff)
Use helpful-variable when propertizing cross-references
-rw-r--r--helpful.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpful.el b/helpful.el
index 3ca6fa7..44f1c6c 100644
--- 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."