aboutsummaryrefslogtreecommitdiff
path: root/hcel-source.el
diff options
context:
space:
mode:
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))