From ba3d3c699e12e2b236a353aa4dbfd1937d47f080 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 24 Dec 2023 10:13:22 -0500 Subject: [PATCH] * src/eval.c (signal_or_quit): Fix naming inconsistency with docs The var's docstring and etc/NEWS refer to "*Redisplay-trace*", so better use that (which is also more in line with usual practice of Emacs buffer names). --- src/eval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eval.c b/src/eval.c index 5ae56292c75..e13bf2103e1 100644 --- a/src/eval.c +++ b/src/eval.c @@ -1841,7 +1841,7 @@ signal_or_quit (Lisp_Object error_symbol, Lisp_Object data, bool keyboard_quit) { max_ensure_room (&max_lisp_eval_depth, lisp_eval_depth, 100); specpdl_ref count = SPECPDL_INDEX (); - AUTO_STRING (redisplay_trace, "*Redisplay_trace*"); + AUTO_STRING (redisplay_trace, "*Redisplay-trace*"); Lisp_Object redisplay_trace_buffer; AUTO_STRING (gap, "\n\n\n\n"); /* Separates things in *Redisplay-trace* */ Lisp_Object delayed_warning; @@ -1857,7 +1857,7 @@ signal_or_quit (Lisp_Object error_symbol, Lisp_Object data, bool keyboard_quit) call_debugger (list2 (Qerror, Fcons (error_symbol, data))); unbind_to (count, Qnil); delayed_warning = make_string - ("Error in a redisplay Lisp hook. See buffer *Redisplay_trace*", 61); + ("Error in a redisplay Lisp hook. See buffer *Redisplay-trace*", 61); Vdelayed_warnings_list = Fcons (list2 (Qerror, delayed_warning), Vdelayed_warnings_list); -- 2.39.2