From d81c59612f026cc6540b388e144c20a3497e72e1 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 27 Oct 2023 15:37:34 +0300 Subject: [PATCH] ; Fix style of error messages in pdumper.c * src/pdumper.c (dump_buffer, dump_do_dump_relocation) (dump_native_comp_unit): Make the style of error messages more consistent. --- src/pdumper.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pdumper.c b/src/pdumper.c index 9a3870181e3..379e128e2b4 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -2864,7 +2864,7 @@ dump_buffer (struct dump_context *ctx, const struct buffer *in_buffer) if (!itree_empty_p (buffer->overlays)) { /* We haven't implemented the code to dump overlays. */ - error ("Dumping overlays in buffers is not yet implemented. Aborting..."); + error ("dumping overlays is not yet implemented"); } else out->overlays = NULL; @@ -2958,7 +2958,7 @@ dump_native_comp_unit (struct dump_context *ctx, struct Lisp_Native_Comp_Unit *comp_u) { if (!CONSP (comp_u->file)) - error ("Trying to dump non fixed-up eln file"); + error ("trying to dump non fixed-up eln file"); /* Have function documentation always lazy loaded to optimize load-time. */ comp_u->data_fdoc_v = Qnil; @@ -5356,11 +5356,11 @@ dump_do_dump_relocation (const uintptr_t dump_base, dump_ptr (dump_base, reloc_offset); comp_u->lambda_gc_guard_h = CALLN (Fmake_hash_table, QCtest, Qeq); if (STRINGP (comp_u->file)) - error ("Trying to load incoherent dumped eln file %s", + error ("trying to load incoherent dumped eln file %s", SSDATA (comp_u->file)); if (!CONSP (comp_u->file)) - error ("Incoherent compilation unit for dump was dumped"); + error ("incoherent compilation unit for dump was dumped"); /* emacs_execdir is always unibyte, but the file names in comp_u->file could be multibyte, so we need to encode -- 2.39.5