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).
This commit is contained in:
Lars Ingebrigtsen 2021-09-04 10:38:50 +02:00
parent 239ca285f9
commit 56c98a4ad8

View file

@ -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