From: Stefan Monnier Date: Sun, 24 Dec 2023 15:13:22 +0000 (-0500) Subject: * src/eval.c (signal_or_quit): Fix naming inconsistency with docs X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ba3d3c699e12e2b236a353aa4dbfd1937d47f080;p=emacs.git * 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). --- 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);