From: Bogdan Creanga Date: Tue, 29 Nov 2016 10:07:15 +0000 (+0900) Subject: Typo fixes in elisp manual X-Git-Tag: emacs-25.1.91~46 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2086f4c;p=emacs.git 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 --- 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}, @example @group (seq-concatenate 'list '(1 2) '(3 4) [5 6]) -@result{} (1 2 3 5 6) +@result{} (1 2 3 4 5 6) @end group @group (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 that collation implements. @end defun -@defun string-prefix-p string1 string2 &optional ignore-case -This function returns non-@code{nil} if @var{string1} is a prefix of -@var{string2}; i.e., if @var{string2} starts with @var{string1}. If -the optional argument @var{ignore-case} is non-@code{nil}, the -comparison ignores case differences. -@end defun - -@defun string-suffix-p suffix string &optional ignore-case -This function returns non-@code{nil} if @var{suffix} is a suffix of -@var{string}; i.e., if @var{string} ends with @var{suffix}. If the -optional argument @var{ignore-case} is non-@code{nil}, the comparison -ignores case differences. -@end defun - @cindex lexical comparison of strings @defun string< string1 string2 @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. both as a variable (e.g., with @code{defvar}) and as a function or macro (e.g., with @code{defun}). Such definitions do not conflict. - These definition also act as guides for programming tools. For + These definitions also act as guides for programming tools. For example, the @kbd{C-h f} and @kbd{C-h v} commands create help buffers containing links to the relevant variable, function, or macro definitions. @xref{Name Help,,, emacs, The GNU Emacs Manual}.