aboutsummaryrefslogtreecommitdiff
path: root/lisp/hcel-results.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/hcel-results.el')
-rw-r--r--lisp/hcel-results.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/hcel-results.el b/lisp/hcel-results.el
index df1b8ae..59213e6 100644
--- a/lisp/hcel-results.el
+++ b/lisp/hcel-results.el
@@ -186,7 +186,8 @@ Start by choosing a package."
(defun hcel-minor-find-references-at-point ()
(interactive)
(let ((props (text-properties-at (point))))
- (cond ((eq major-mode 'hcel-outline-mode)
+ (cond ((or (eq major-mode 'hcel-outline-mode)
+ (eq (current-buffer) eldoc--doc-buffer))
(hcel-find-references-internal
(plist-get props 'package-id)
(plist-get props 'module-path)