Mercurial > emacs
changeset 67769:20a39d204662
(Undo): Restore some explanation from the version that was deleted.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 23 Dec 2005 16:46:59 +0000 |
parents | edd5b99fd103 |
children | da3a9ae717a0 |
files | lispref/text.texi |
diffstat | 1 files changed, 14 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/text.texi Fri Dec 23 16:45:05 2005 +0000 +++ b/lispref/text.texi Fri Dec 23 16:46:59 2005 +0000 @@ -470,6 +470,9 @@ In an interactive call, @var{count} is the numeric prefix argument. +Self-insertion translates the input character through +@code{translation-table-for-input}. @xref{Translation of Characters}. + This command calls @code{auto-fill-function} whenever that is non-@code{nil} and the character inserted is in the table @code{auto-fill-chars} (@pxref{Auto Filling}). @@ -477,10 +480,9 @@ @c Cross refs reworded to prevent overfull hbox. --rjc 15mar92 This command performs abbrev expansion if Abbrev mode is enabled and the inserted character does not have word-constituent -syntax. (@xref{Abbrevs}, and @ref{Syntax Class Table}.) - -This is also responsible for calling @code{blink-paren-function} when -the inserted character has close parenthesis syntax (@pxref{Blinking}). +syntax. (@xref{Abbrevs}, and @ref{Syntax Class Table}.) It is also +responsible for calling @code{blink-paren-function} when the inserted +character has close parenthesis syntax (@pxref{Blinking}). Do not try substituting your own definition of @code{self-insert-command} for the standard one. The editor command @@ -1257,6 +1259,9 @@ by @var{delta}. It is undone by calling @var{funname} with arguments @var{args}. +This kind of element enables undo limited to a region to determine +whether the element pertains to that region. + @item nil This element is a boundary. The elements between two boundaries are called a @dfn{change group}; normally, each change group corresponds to @@ -1793,7 +1798,7 @@ rearranges the order of the elements of a list (@pxref{Rearrangement}). The values returned by these functions are not meaningful. -@defun sort-subr reverse nextrecfun endrecfun &optional startkeyfun endkeyfun +@defun sort-subr reverse nextrecfun endrecfun &optional startkeyfun endkeyfun predicate This function is the general text-sorting routine that subdivides a buffer into records and then sorts them. Most of the commands in this section use this function. @@ -1847,6 +1852,10 @@ non-@code{nil} value. @end enumerate +The argument @var{predicate} is the function to use to compare keys. +If keys are numbers, it defaults to @code{<}; otherwise it defaults to +@code{string<}. + As an example of @code{sort-subr}, here is the complete function definition for @code{sort-lines}: