summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Volpiatto <thievol@posteo.net>2020-12-28 06:17:52 +0100
committerThierry Volpiatto <thievol@posteo.net>2020-12-28 06:17:52 +0100
commit830f03683d99a1e771277cac6f2a1110b8936334 (patch)
treeb8c6d01443fc79ad71f2002e3cbb20e27106768c
parent09fa86d385dc36b9c483144082b199e1fd29a192 (diff)
Fix formatting error in calc result
-rw-r--r--helm-eval.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/helm-eval.el b/helm-eval.el
index ecd47c2d..cee29752 100644
--- a/helm-eval.el
+++ b/helm-eval.el
@@ -151,9 +151,8 @@ Should take one arg: the string to display."
(condition-case err
(let ((result (calc-eval helm-pattern)))
(if (listp result)
- (error "%S"
- (format "At pos %s: %s"
- (car result) (cadr result)))
+ (error "At pos %s: %s"
+ (car result) (cadr result))
result))
(error (cdr err)))))
:nohighlight t