fix: warning

This commit is contained in:
Pavel Korytov 2022-02-06 22:00:00 +03:00
parent e462e71291
commit 006c36842f

View file

@ -1857,6 +1857,8 @@ the minibuffer."
(if (string-match-p (rx "(rx") value)
(condition-case err
(eval (car (read-from-string value)))
;; XXX `error' indeed takes an f-string, but here error is
;; just a symbol, not a function.
(error (format "Error: %s" (prin1-to-string err))))
value)))