diff options
| author | Bogdan Creanga | 2016-11-29 19:07:15 +0900 |
|---|---|---|
| committer | Tino Calancha | 2016-11-29 19:07:15 +0900 |
| commit | 2086f4c0c6ecf8b94173c97162ae1b09749eabb5 (patch) | |
| tree | 66efd3ebceb3a11132801ba43a66963633cdd8a2 | |
| parent | f6da59737603091c67aee7bc912d3b164350314c (diff) | |
| download | emacs-2086f4c0c6ecf8b94173c97162ae1b09749eabb5.tar.gz emacs-2086f4c0c6ecf8b94173c97162ae1b09749eabb5.zip | |
Typo fixes in elisp manual
* doc/lispref/sequences.texi: Add missing '4' in result (Bug#25047).
* doc/lispref/strings.texi (Text Comparison): Avoid duplicate
definitions of 'string-prefix-p' and 'string-suffix-p'.
* doc/lispref/symbols.texi (Definitions): Pluralize 'definitions'.
Copyright-paperwork-exempt: yes
| -rw-r--r-- | doc/lispref/sequences.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/strings.texi | 14 | ||||
| -rw-r--r-- | doc/lispref/symbols.texi | 2 |
3 files changed, 2 insertions, 16 deletions
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi index a54ab104ab5..920399586c5 100644 --- a/doc/lispref/sequences.texi +++ b/doc/lispref/sequences.texi | |||
| @@ -832,7 +832,7 @@ concatenation of @var{sequences}. @var{type} may be: @code{vector}, | |||
| 832 | @example | 832 | @example |
| 833 | @group | 833 | @group |
| 834 | (seq-concatenate 'list '(1 2) '(3 4) [5 6]) | 834 | (seq-concatenate 'list '(1 2) '(3 4) [5 6]) |
| 835 | @result{} (1 2 3 5 6) | 835 | @result{} (1 2 3 4 5 6) |
| 836 | @end group | 836 | @end group |
| 837 | @group | 837 | @group |
| 838 | (seq-concatenate 'string "Hello " "world") | 838 | (seq-concatenate 'string "Hello " "world") |
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 5fee37361fd..3c764da4e2b 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -508,20 +508,6 @@ filesystems generally don't honor linguistic equivalence of strings | |||
| 508 | that collation implements. | 508 | that collation implements. |
| 509 | @end defun | 509 | @end defun |
| 510 | 510 | ||
| 511 | @defun string-prefix-p string1 string2 &optional ignore-case | ||
| 512 | This function returns non-@code{nil} if @var{string1} is a prefix of | ||
| 513 | @var{string2}; i.e., if @var{string2} starts with @var{string1}. If | ||
| 514 | the optional argument @var{ignore-case} is non-@code{nil}, the | ||
| 515 | comparison ignores case differences. | ||
| 516 | @end defun | ||
| 517 | |||
| 518 | @defun string-suffix-p suffix string &optional ignore-case | ||
| 519 | This function returns non-@code{nil} if @var{suffix} is a suffix of | ||
| 520 | @var{string}; i.e., if @var{string} ends with @var{suffix}. If the | ||
| 521 | optional argument @var{ignore-case} is non-@code{nil}, the comparison | ||
| 522 | ignores case differences. | ||
| 523 | @end defun | ||
| 524 | |||
| 525 | @cindex lexical comparison of strings | 511 | @cindex lexical comparison of strings |
| 526 | @defun string< string1 string2 | 512 | @defun string< string1 string2 |
| 527 | @c (findex string< causes problems for permuted index!!) | 513 | @c (findex string< causes problems for permuted index!!) |
diff --git a/doc/lispref/symbols.texi b/doc/lispref/symbols.texi index 8c1ec3d85e2..36a2795d1dd 100644 --- a/doc/lispref/symbols.texi +++ b/doc/lispref/symbols.texi | |||
| @@ -157,7 +157,7 @@ that cell can hold only one Lisp object at any given time. | |||
| 157 | both as a variable (e.g., with @code{defvar}) and as a function or | 157 | both as a variable (e.g., with @code{defvar}) and as a function or |
| 158 | macro (e.g., with @code{defun}). Such definitions do not conflict. | 158 | macro (e.g., with @code{defun}). Such definitions do not conflict. |
| 159 | 159 | ||
| 160 | These definition also act as guides for programming tools. For | 160 | These definitions also act as guides for programming tools. For |
| 161 | example, the @kbd{C-h f} and @kbd{C-h v} commands create help buffers | 161 | example, the @kbd{C-h f} and @kbd{C-h v} commands create help buffers |
| 162 | containing links to the relevant variable, function, or macro | 162 | containing links to the relevant variable, function, or macro |
| 163 | definitions. @xref{Name Help,,, emacs, The GNU Emacs Manual}. | 163 | definitions. @xref{Name Help,,, emacs, The GNU Emacs Manual}. |