aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/emacs/basic.texi11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi
index f64b3995d25..abdfcb1ab8a 100644
--- a/doc/emacs/basic.texi
+++ b/doc/emacs/basic.texi
@@ -406,8 +406,8 @@ Delete the character before point, or the region if it is active
406(@code{delete-backward-char}). 406(@code{delete-backward-char}).
407 407
408@item @key{Delete} 408@item @key{Delete}
409Delete the character after point, or the region if it is active 409Delete the character or grapheme cluster after point, or the region if
410(@code{delete-forward-char}). 410it is active (@code{delete-forward-char}).
411 411
412@item C-d 412@item C-d
413Delete the character after point (@code{delete-char}). 413Delete the character after point (@code{delete-char}).
@@ -438,11 +438,18 @@ with the @key{Delete} key; we will discuss @key{Delete} momentarily.)
438On some text terminals, Emacs may not recognize the @key{DEL} key 438On some text terminals, Emacs may not recognize the @key{DEL} key
439properly. @xref{DEL Does Not Delete}, if you encounter this problem. 439properly. @xref{DEL Does Not Delete}, if you encounter this problem.
440 440
441@cindex grapheme cluster, deletion
442@cindex delete entire grapheme cluster
441 The @key{Delete} (@code{delete-forward-char}) command deletes in the 443 The @key{Delete} (@code{delete-forward-char}) command deletes in the
442opposite direction: it deletes the character after point, i.e., the 444opposite direction: it deletes the character after point, i.e., the
443character under the cursor. If point was at the end of a line, this 445character under the cursor. If point was at the end of a line, this
444joins the following line onto this one. Like @kbd{@key{DEL}}, it 446joins the following line onto this one. Like @kbd{@key{DEL}}, it
445deletes the text in the region if the region is active (@pxref{Mark}). 447deletes the text in the region if the region is active (@pxref{Mark}).
448If the character after point is composed with following characters and
449displayed as a single display unit, a so-called @dfn{grapheme cluster}
450representing the entire sequence, @key{Delete} deletes the entire
451sequence in one go. This is in contrast to @key{DEL} which always
452deletes a single character, even if the character is composed.
446 453
447 @kbd{C-d} (@code{delete-char}) deletes the character after point, 454 @kbd{C-d} (@code{delete-char}) deletes the character after point,
448similar to @key{Delete}, but regardless of whether the region is 455similar to @key{Delete}, but regardless of whether the region is