From 6901173e4456b7dba975ef7f1c13f002e4046cb9 Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Sat, 14 Mar 2026 18:57:09 +0100 Subject: [PATCH] ; Ensure hint to close "Newcomers Theme" is visible * doc/emacs/custom.texi (Newcomers Theme): Move to the beginning of the node, so as to be visible even when the Emacs frame is too small and wrap it in a conditional to not print the message in non-Info outputs. --- doc/emacs/custom.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index 2de147a204c..7eff23c9800 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi @@ -3245,6 +3245,11 @@ persistently. This can be changed by customizing the user option @node Newcomers Theme @section Newcomers Theme +@ifinfo + (If you got here by clicking a link on the startup screen, type +@kbd{q} to go back.) +@end ifinfo + Each release of Emacs brings new features, but they are not enabled by default to avoid disrupting users' existing workflows. Many of these features, however, are intended to make Emacs more approachable to new @@ -3261,6 +3266,3 @@ Therefore, if you get used to the newcomers' presets, consider copying them into your own configuration and then disabling the theme again. You can use the command @code{copy-theme-options} (@pxref{Custom Themes}) to do this. - - (If you got here by clicking a link on the startup screen, type -@kbd{q} to go back.)