summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-09-04 10:38:50 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-09-04 10:38:50 +0200
commit56c98a4ad886376b3c73d6c8b9a96f6bca8f0f48 (patch)
treef6ae7dc125bb47afb0970a9d7d649f11a91351db
parent239ca285f906173e547d65c4cf37b438ca88a615 (diff)
downloademacs-56c98a4ad886376b3c73d6c8b9a96f6bca8f0f48.tar.gz
Improve error message in ielm on printing errors
* lisp/ielm.el (ielm-eval-input): Don't claim that there's a bug on pp -- it may just be something that nests too far (bug#18012).
-rw-r--r--lisp/ielm.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/ielm.el b/lisp/ielm.el
index fd8dac74b74..39820a893a9 100644
--- a/lisp/ielm.el
+++ b/lisp/ielm.el
@@ -440,8 +440,7 @@ nonempty, then flushes the buffer."
(concat (buffer-string) aux))))))
(error
(setq error-type "IELM Error")
- (setq result (format "Error during pretty-printing (bug in pp): %S"
- err)))
+ (setq result (format "Error during pretty-printing: %S" err)))
(quit (setq error-type "IELM Error")
(setq result "Quit during pretty-printing"))))
(if error-type