1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00

; Fix misspellings of 'occurrence' in docs.

This commit is contained in:
Basil L. Contovounesios 2021-07-11 11:55:31 +01:00
parent 5b9daab3a7
commit 46f9949e1f
2 changed files with 7 additions and 7 deletions

View file

@ -4432,7 +4432,7 @@ ThXs Xs the contents of the buffer before.
@defun subst-char-in-string fromchar tochar string &optional inplace @defun subst-char-in-string fromchar tochar string &optional inplace
@cindex replace characters in string @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 with @var{tochar} in @var{string}. By default, substitution occurs in
a copy of @var{string}, but if the optional argument @var{inplace} is 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 non-@code{nil}, the function modifies the @var{string} itself. In any

View file

@ -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 Date values (any key in `gnus-search-date-keys') can be provided
in any format that `parse-time-string' can parse (note that this in any format that `parse-time-string' can parse (note that this
can produce weird results). Dates with missing bits will be can produce weird results). Dates with missing bits will be
interpreted as the most recent occurence thereof (ie \"march 03\" interpreted as the most recent occurrence thereof (i.e. \"march
is the most recent March 3rd). Lastly, relative specifications 03\" is the most recent March 3rd). Lastly, relative
such as 1d (one day ago) are understood. This also accepts w, m, specifications such as 1d (one day ago) are understood. This
and y. m is assumed to be 30 days. also accepts w, m, and y. m is assumed to be 30 days.
This function will accept pretty much anything as input. Its This function will accept pretty much anything as input. Its
only job is to parse the query into a sexp, and pass that on -- 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. "Return a string from the current buffer.
If DELIMITED is non-nil, assume the next character is a delimiter If DELIMITED is non-nil, assume the next character is a delimiter
character, and return everything between point and the next character, and return everything between point and the next
occurence of the delimiter, including the delimiters themselves. occurrence of the delimiter, including the delimiters themselves.
If TRIM is non-nil, do not return the delimiters. Otherwise, If TRIM is non-nil, do not return the delimiters. Otherwise,
return one word." return one word."
;; This function cannot handle nested delimiters, as it's not a ;; This function cannot handle nested delimiters, as it's not a
;; proper parser. Ie, you cannot parse "to:bob or (from:bob or ;; proper parser. Ie, you cannot parse "to:bob or (from:bob or