diff options
| author | Pip Cet | 2025-06-28 09:33:01 +0000 |
|---|---|---|
| committer | Pip Cet | 2025-06-28 10:46:08 +0000 |
| commit | 6b19eb53c5048cfec1f3601afb44f94ebbb9d138 (patch) | |
| tree | 201e5d624f38626ef24e26fb243b644656e585b7 /exec/exec.c | |
| parent | c64b2bf113eaa2044c24860d0610c3b8ebd7e742 (diff) | |
| download | emacs-6b19eb53c5048cfec1f3601afb44f94ebbb9d138.tar.gz emacs-6b19eb53c5048cfec1f3601afb44f94ebbb9d138.zip | |
Avoid extra output in Vprin1_to_string_buffer (bug#78842)
print_error_message can throw after producing some output, so use
unwind-protect to ensure prin1-to-string-buffer is cleared.
* src/print.c (erase_prin1_to_string_buffer): New.
(Ferror_message_string): Use it to catch errors thrown in
'print_error_message'.
* test/src/print-tests.el (error-message-string-circular): Expand
test.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions