From: Stefan Kangas Date: Thu, 6 Oct 2022 07:25:42 +0000 (+0200) Subject: Fix references to 'default-indent-new-line' X-Git-Tag: emacs-28.3-rc1~39 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f0a06364fb7a9d40752109855335990ccee0f410;p=emacs.git Fix references to 'default-indent-new-line' * doc/emacs/programs.texi (Comment Commands) (Multi-Line Comments): Fix references to 'default-indent-new-line'. (Bug#58325) --- diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index b2a08fa2ccb..c746a374b32 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi @@ -970,7 +970,7 @@ Set comment column (@code{comment-set-column}). @item @kbd{C-M-j} @itemx @kbd{M-j} Like @kbd{@key{RET}} followed by inserting and aligning a comment -(@code{comment-indent-new-line}). @xref{Multi-Line Comments}. +(@code{default-indent-new-line}). @xref{Multi-Line Comments}. @item @kbd{M-x comment-region} @itemx @kbd{C-c C-c} (in C-like modes) Add comment delimiters to all the lines in the region. @@ -1065,10 +1065,10 @@ the brace rather than at @code{comment-column}. For full details see @kindex C-M-j @kindex M-j @cindex blank lines in programs -@findex comment-indent-new-line +@findex default-indent-new-line @vindex comment-multi-line If you are typing a comment and wish to continue it to another line, -type @kbd{M-j} or @kbd{C-M-j} (@code{comment-indent-new-line}). This +type @kbd{M-j} or @kbd{C-M-j} (@code{default-indent-new-line}). This breaks the current line, and inserts the necessary comment delimiters and indentation to continue the comment.