aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--helpful.el2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 72fbcd6..96ed360 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,7 @@ Better handling of docstrings:
* Correctly handle \= escapes
* Quoted keywords are now highlighted
* Correctly highlight docstrings that contain standalone `` ` ``
+* Ensure we link command references in variable docstrings too
Added disassemble buttons to byte-code functions in symbol properties.
diff --git a/helpful.el b/helpful.el
index 9471eb0..2af81d1 100644
--- a/helpful.el
+++ b/helpful.el
@@ -1343,7 +1343,7 @@ escapes that are used by `substitute-command-keys'."
;; TODO: Only do this if the function is advised.
(setq docstring (helpful--skip-advice docstring)))))
(setq docstring
- (documentation-property sym 'variable-documentation)))
+ (documentation-property sym 'variable-documentation t)))
docstring))
(defun helpful--read-symbol (prompt predicate)