summaryrefslogtreecommitdiff
path: root/doc/emacs/programs.texi
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-10-07 06:30:21 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-10-07 06:30:21 +0200
commited1401c64d2747768fabf33ac42ff92d84555dce (patch)
tree43b226cdea821528255dbe37d6c943a0a4f35d51 /doc/emacs/programs.texi
parent87301f262357c8003fe1a02b58bfcc9dc9d82a14 (diff)
parent5f8849425cad71fa173008bcf87b9aec07730dba (diff)
downloademacs-ed1401c64d2747768fabf33ac42ff92d84555dce.tar.gz
emacs-ed1401c64d2747768fabf33ac42ff92d84555dce.tar.bz2
emacs-ed1401c64d2747768fabf33ac42ff92d84555dce.zip
Merge from origin/emacs-28
5f8849425c Fix typo in `(emacs) Lisp Doc' f0a06364fb Fix references to 'default-indent-new-line'
Diffstat (limited to 'doc/emacs/programs.texi')
-rw-r--r--doc/emacs/programs.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 03f565808d6..9f08b1bfb48 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -985,7 +985,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.
@@ -1080,10 +1080,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.
@@ -1331,8 +1331,8 @@ This abnormal hook holds documentation functions. It acts as a
collection of backends for ElDoc. This is what modes should use to
register their documentation functions with ElDoc.
-@vindex eldoc-display-truncation-message
-@item eldoc-display-truncation-message
+@vindex eldoc-echo-area-display-truncation-message
+@item eldoc-echo-area-display-truncation-message
If non-@code{nil} (the default), display a verbose message about how
to view a complete documentation (if it has been truncated in the echo
area). If @code{nil}, just mark truncated messages with @samp{...}.