From: Basil L. Contovounesios Date: Sun, 11 Jul 2021 10:55:31 +0000 (+0100) Subject: ; Fix misspellings of 'occurrence' in docs. X-Git-Tag: emacs-28.0.90~1903 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=46f9949e1fc29489b02c31fa4f7620afe580be1b;p=emacs.git ; Fix misspellings of 'occurrence' in docs. --- diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index b71748c0832..feb9e58f31c 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi @@ -4432,7 +4432,7 @@ ThXs Xs the contents of the buffer before. @defun subst-char-in-string fromchar tochar string &optional inplace @cindex replace characters in string -This function replaces all occurences of the character @var{fromchar} +This function replaces all occurrences of the character @var{fromchar} with @var{tochar} in @var{string}. By default, substitution occurs in a copy of @var{string}, but if the optional argument @var{inplace} is non-@code{nil}, the function modifies the @var{string} itself. In any diff --git a/lisp/gnus/gnus-search.el b/lisp/gnus/gnus-search.el index 56675eb8651..8627619e96e 100644 --- a/lisp/gnus/gnus-search.el +++ b/lisp/gnus/gnus-search.el @@ -448,10 +448,10 @@ auto-completion of contact names and addresses for keys like Date values (any key in `gnus-search-date-keys') can be provided in any format that `parse-time-string' can parse (note that this can produce weird results). Dates with missing bits will be -interpreted as the most recent occurence thereof (ie \"march 03\" -is the most recent March 3rd). Lastly, relative specifications -such as 1d (one day ago) are understood. This also accepts w, m, -and y. m is assumed to be 30 days. +interpreted as the most recent occurrence thereof (i.e. \"march +03\" is the most recent March 3rd). Lastly, relative +specifications such as 1d (one day ago) are understood. This +also accepts w, m, and y. m is assumed to be 30 days. This function will accept pretty much anything as input. Its only job is to parse the query into a sexp, and pass that on -- @@ -644,8 +644,8 @@ gnus-*-mark marks, and return an appropriate string." "Return a string from the current buffer. If DELIMITED is non-nil, assume the next character is a delimiter character, and return everything between point and the next -occurence of the delimiter, including the delimiters themselves. -If TRIM is non-nil, do not return the delimiters. Otherwise, +occurrence of the delimiter, including the delimiters themselves. +If TRIM is non-nil, do not return the delimiters. Otherwise, return one word." ;; This function cannot handle nested delimiters, as it's not a ;; proper parser. Ie, you cannot parse "to:bob or (from:bob or