1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-18 11:50:38 -08:00

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)
This commit is contained in:
Stefan Kangas 2022-10-06 09:25:42 +02:00
parent a78af3018e
commit f0a06364fb

View file

@ -970,7 +970,7 @@ Set comment column (@code{comment-set-column}).
@item @kbd{C-M-j} @item @kbd{C-M-j}
@itemx @kbd{M-j} @itemx @kbd{M-j}
Like @kbd{@key{RET}} followed by inserting and aligning a comment 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} @item @kbd{M-x comment-region}
@itemx @kbd{C-c C-c} (in C-like modes) @itemx @kbd{C-c C-c} (in C-like modes)
Add comment delimiters to all the lines in the region. 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 C-M-j
@kindex M-j @kindex M-j
@cindex blank lines in programs @cindex blank lines in programs
@findex comment-indent-new-line @findex default-indent-new-line
@vindex comment-multi-line @vindex comment-multi-line
If you are typing a comment and wish to continue it to another 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 breaks the current line, and inserts the necessary comment delimiters
and indentation to continue the comment. and indentation to continue the comment.