aboutsummaryrefslogtreecommitdiff
path: root/hcel-source.el
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-09-29 11:53:30 +1000
committerYuchen Pei <hi@ypei.me>2022-09-29 11:53:30 +1000
commit71a93991a03f0e9ea9b381d1a9d1acb994fc4a4d (patch)
treea0b80a18cc84eb41a0ceda0ec552d9bdc95a5814 /hcel-source.el
parent19b43ada7e304221680df6e6fb53383d9a367d7c (diff)
linking in documentation
Only to module source for now.
Diffstat (limited to 'hcel-source.el')
-rw-r--r--hcel-source.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/hcel-source.el b/hcel-source.el
index dc54e18..fc7e38c 100644
--- a/hcel-source.el
+++ b/hcel-source.el
@@ -425,8 +425,7 @@ the location with pulsing.
(when identifier
(alist-get (intern identifier) hcel-identifiers))
occurrence)))
- (when (string= (hcel-location-tag location-info) "ApproximateLocation")
- (setq location-info (hcel-approx-to-exact-location location-info)))
+ (setq location-info (hcel-to-exact-location location-info))
(let ((line-beg (alist-get 'startLine location-info))
(col-beg (alist-get 'startColumn location-info))
(line-end (alist-get 'endLine location-info))