diff options
| author | Glenn Morris | 2012-12-21 11:32:43 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-12-21 11:32:43 -0800 |
| commit | a4b0cca119b01dc55bad802ef696c857fe014482 (patch) | |
| tree | f2df86b3d472d15d3bbb69274325a7c0090f65b3 /doc/lispref | |
| parent | 0e9c7693712014196946a83709a83c08a7dfea25 (diff) | |
| parent | 160b3852018831b830a7451f29f770fb49810342 (diff) | |
| download | emacs-a4b0cca119b01dc55bad802ef696c857fe014482.tar.gz emacs-a4b0cca119b01dc55bad802ef696c857fe014482.zip | |
Merge from emacs-24; up to 2012-12-01T13:25:13Z!cyd@gnu.org
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 9 | ||||
| -rw-r--r-- | doc/lispref/customize.texi | 5 | ||||
| -rw-r--r-- | doc/lispref/modes.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/strings.texi | 34 |
4 files changed, 34 insertions, 16 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 80814e6830b..8158a282a5c 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2012-12-21 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * modes.texi (Auto Major Mode): Fix typo (Bug#13230). | ||
| 4 | |||
| 5 | * customize.texi (Simple Types): Document key-sequence type | ||
| 6 | (Bug#13048). | ||
| 7 | |||
| 8 | * strings.texi (Text Comparison): Doc fix for compare-strings. | ||
| 9 | |||
| 1 | 2012-12-19 Michael Albinus <michael.albinus@gmx.de> | 10 | 2012-12-19 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 11 | ||
| 3 | * files.texi (Magic File Names): Add `file-acl', | 12 | * files.texi (Magic File Names): Add `file-acl', |
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi index 56e091eabf2..498d2a379c0 100644 --- a/doc/lispref/customize.texi +++ b/doc/lispref/customize.texi | |||
| @@ -620,6 +620,11 @@ you can specify that the value must be @code{nil} or @code{t}, but also | |||
| 620 | specify the text to describe each value in a way that fits the specific | 620 | specify the text to describe each value in a way that fits the specific |
| 621 | meaning of the alternative. | 621 | meaning of the alternative. |
| 622 | 622 | ||
| 623 | @item key-sequence | ||
| 624 | The value is a key sequence. The customization buffer shows the key | ||
| 625 | sequence using the same syntax as the @kbd{kbd} function. @xref{Key | ||
| 626 | Sequences}. | ||
| 627 | |||
| 623 | @item coding-system | 628 | @item coding-system |
| 624 | The value must be a coding-system name, and you can do completion with | 629 | The value must be a coding-system name, and you can do completion with |
| 625 | @kbd{M-@key{TAB}}. | 630 | @kbd{M-@key{TAB}}. |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 7057503e4c3..9509d019a72 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -612,7 +612,7 @@ variables section specifying a mode for that particular file. This | |||
| 612 | should not be applied to the containing tar file. Similarly, a tiff | 612 | should not be applied to the containing tar file. Similarly, a tiff |
| 613 | image file might just happen to contain a first line that seems to | 613 | image file might just happen to contain a first line that seems to |
| 614 | match the @w{@samp{-*-}} pattern. For these reasons, both these file | 614 | match the @w{@samp{-*-}} pattern. For these reasons, both these file |
| 615 | extensions are members of the list @var{inhibit-local-variables-regexps}. | 615 | extensions are members of the list @code{inhibit-local-variables-regexps}. |
| 616 | Add patterns to this list to prevent Emacs searching them for local | 616 | Add patterns to this list to prevent Emacs searching them for local |
| 617 | variables of any kind (not just mode specifiers). | 617 | variables of any kind (not just mode specifiers). |
| 618 | 618 | ||
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 865435c91b3..c127cec8f8a 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -517,25 +517,29 @@ comparison ignores case differences. | |||
| 517 | @end defun | 517 | @end defun |
| 518 | 518 | ||
| 519 | @defun compare-strings string1 start1 end1 string2 start2 end2 &optional ignore-case | 519 | @defun compare-strings string1 start1 end1 string2 start2 end2 &optional ignore-case |
| 520 | This function compares the specified part of @var{string1} with the | 520 | This function compares a specified part of @var{string1} with a |
| 521 | specified part of @var{string2}. The specified part of @var{string1} | 521 | specified part of @var{string2}. The specified part of @var{string1} |
| 522 | runs from index @var{start1} up to index @var{end1} (@code{nil} means | 522 | runs from index @var{start1} (inclusive) up to index @var{end1} |
| 523 | the end of the string). The specified part of @var{string2} runs from | 523 | (exclusive); @code{nil} for @var{start1} means the start of the |
| 524 | index @var{start2} up to index @var{end2} (@code{nil} means the end of | 524 | string, while @code{nil} for @var{end1} means the length of the |
| 525 | the string). | 525 | string. Likewise, the specified part of @var{string2} runs from index |
| 526 | 526 | @var{start2} up to index @var{end2}. | |
| 527 | The strings are both converted to multibyte for the comparison | 527 | |
| 528 | (@pxref{Text Representations}) so that a unibyte string and its | 528 | The strings are compared by the numeric values of their characters. |
| 529 | conversion to multibyte are always regarded as equal. If | 529 | For instance, @var{str1} is considered ``smaller than'' @var{str2} if |
| 530 | @var{ignore-case} is non-@code{nil}, then case is ignored, so that | 530 | its first differing character has a smaller numeric value. If |
| 531 | upper case letters can be equal to lower case letters. | 531 | @var{ignore-case} is non-@code{nil}, characters are converted to |
| 532 | lower-case before comparing them. Unibyte strings are converted to | ||
| 533 | multibyte for comparison (@pxref{Text Representations}), so that a | ||
| 534 | unibyte string and its conversion to multibyte are always regarded as | ||
| 535 | equal. | ||
| 532 | 536 | ||
| 533 | If the specified portions of the two strings match, the value is | 537 | If the specified portions of the two strings match, the value is |
| 534 | @code{t}. Otherwise, the value is an integer which indicates how many | 538 | @code{t}. Otherwise, the value is an integer which indicates how many |
| 535 | leading characters agree, and which string is less. Its absolute value | 539 | leading characters agree, and which string is less. Its absolute |
| 536 | is one plus the number of characters that agree at the beginning of the | 540 | value is one plus the number of characters that agree at the beginning |
| 537 | two strings. The sign is negative if @var{string1} (or its specified | 541 | of the two strings. The sign is negative if @var{string1} (or its |
| 538 | portion) is less. | 542 | specified portion) is less. |
| 539 | @end defun | 543 | @end defun |
| 540 | 544 | ||
| 541 | @defun assoc-string key alist &optional case-fold | 545 | @defun assoc-string key alist &optional case-fold |