X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/bfe721d172158ccdcd925e55f5a658421ca0d4fe..371f8cd0cef48c572ffacc2e1814d443560e79d1:/lispref/text.texi diff --git a/lispref/text.texi b/lispref/text.texi index b454722430..08723e5bc8 100644 --- a/lispref/text.texi +++ b/lispref/text.texi @@ -182,7 +182,7 @@ This is the contents of buffer foo @end example @end defun -@defun buffer-substring-without-properties start end +@defun buffer-substring-no-properties start end This is like @code{buffer-substring}, except that it does not copy text properties, just the characters themselves. @xref{Text Properties}. Here's an example of using this function to get a word to look up in an @@ -450,7 +450,9 @@ be compared with that of the former text. @deffn Command delete-region start end This command deletes the text in the current buffer in the region -defined by @var{start} and @var{end}. The value is @code{nil}. +defined by @var{start} and @var{end}. The value is @code{nil}. If +point was inside the deleted region, its value afterward is @var{start}. +Otherwise, point relocates with the surrounding text, as markers do. @end deffn @deffn Command delete-char count &optional killp @@ -1089,7 +1091,7 @@ change group at which this size is exceeded is the last one kept. This is the upper limit for the acceptable size of an undo list. The change group at which this size is exceeded is discarded itself (along with all older change groups). There is one exception: the very latest -change group is never discarded separate no matter how big it is. +change group is never discarded no matter how big it is. @end defvar @node Filling @@ -1335,7 +1337,7 @@ becomes buffer-local when set in any fashion. @cindex Auto Fill mode Auto Fill mode is a minor mode that fills lines automatically as text -as inserted. This section describes the hook used by Auto Fill mode. +is inserted. This section describes the hook used by Auto Fill mode. For a description of functions that you can call explicitly to fill and justify existing text, see @ref{Filling}. @@ -2231,7 +2233,7 @@ from the specified range of text. Here's an example: @end example @end defun -See also the function @code{buffer-substring-without-properties} +See also the function @code{buffer-substring-no-properties} (@pxref{Buffer Contents}) which copies text from the buffer but does not copy its properties.