From f1c952f0b88904eadafd63f677df989f9f81a866 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Tue, 6 Sep 2022 12:25:11 +1000 Subject: adding support for find definition in hcel-minor mode --- lisp/hcel-results.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/hcel-results.el') diff --git a/lisp/hcel-results.el b/lisp/hcel-results.el index 59213e6..6f9a29e 100644 --- a/lisp/hcel-results.el +++ b/lisp/hcel-results.el @@ -197,7 +197,7 @@ Start by choosing a package." (alist-get 'packageId (plist-get props 'location-info)) (alist-get 'modulePath (plist-get props 'location-info)) (plist-get props 'internal-id))) - (t (error "%S not supported!" major-mode))))) + (t (error "%S not supported and not in eldoc doc buffer." major-mode))))) (defun hcel-find-references-internal (package-id module-path identifier) (when (and package-id module-path identifier) -- cgit v1.2.3