aboutsummaryrefslogtreecommitdiff
path: root/hcel-client.el
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-09-29 14:45:59 +1000
committerYuchen Pei <hi@ypei.me>2022-09-29 14:45:59 +1000
commit7f73da1356d141d35047523a8ed0764a95385f7d (patch)
treedcfb69447a97b5f06ee1aa06ccb82e1bde775be1 /hcel-client.el
parent5e9cd756af1e0b1bbd54103204189832e4860527 (diff)
minor changes.
- https://lists.gnu.org/archive/html/emacs-devel/2022-09/msg01971.html - https://lists.gnu.org/archive/html/emacs-devel/2022-09/msg01444.html
Diffstat (limited to 'hcel-client.el')
-rw-r--r--hcel-client.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/hcel-client.el b/hcel-client.el
index 4561af9..fb17015 100644
--- a/hcel-client.el
+++ b/hcel-client.el
@@ -61,8 +61,7 @@
"Call definitionSite with info from an approximate location."
(when (not (equal (hcel-location-tag approx-location-info)
"ApproximateLocation"))
- (error "An non ApproximateLocation supplied: %s"
- (prin1-to-string approx-location-info)))
+ (error "An non ApproximateLocation supplied: %S" approx-location-info))
(when-let* ((package-id (alist-get 'packageId approx-location-info))
(component-id (alist-get 'componentId approx-location-info))
(module-name (alist-get 'moduleName approx-location-info))