aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdan Creanga2016-11-29 19:07:15 +0900
committerTino Calancha2016-11-29 19:07:15 +0900
commit2086f4c0c6ecf8b94173c97162ae1b09749eabb5 (patch)
tree66efd3ebceb3a11132801ba43a66963633cdd8a2
parentf6da59737603091c67aee7bc912d3b164350314c (diff)
downloademacs-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.texi2
-rw-r--r--doc/lispref/strings.texi14
-rw-r--r--doc/lispref/symbols.texi2
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
508that collation implements. 508that collation implements.
509@end defun 509@end defun
510 510
511@defun string-prefix-p string1 string2 &optional ignore-case
512This 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
514the optional argument @var{ignore-case} is non-@code{nil}, the
515comparison ignores case differences.
516@end defun
517
518@defun string-suffix-p suffix string &optional ignore-case
519This 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
521optional argument @var{ignore-case} is non-@code{nil}, the comparison
522ignores 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.
157both as a variable (e.g., with @code{defvar}) and as a function or 157both as a variable (e.g., with @code{defvar}) and as a function or
158macro (e.g., with @code{defun}). Such definitions do not conflict. 158macro (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
161example, the @kbd{C-h f} and @kbd{C-h v} commands create help buffers 161example, the @kbd{C-h f} and @kbd{C-h v} commands create help buffers
162containing links to the relevant variable, function, or macro 162containing links to the relevant variable, function, or macro
163definitions. @xref{Name Help,,, emacs, The GNU Emacs Manual}. 163definitions. @xref{Name Help,,, emacs, The GNU Emacs Manual}.