emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 46f9949: ; Fix misspellings of 'occurrence' in docs.


From: Basil L. Contovounesios
Subject: master 46f9949: ; Fix misspellings of 'occurrence' in docs.
Date: Sun, 11 Jul 2021 07:05:38 -0400 (EDT)

branch: master
commit 46f9949e1fc29489b02c31fa4f7620afe580be1b
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    ; Fix misspellings of 'occurrence' in docs.
---
 doc/lispref/text.texi    |  2 +-
 lisp/gnus/gnus-search.el | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index b71748c..feb9e58 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 56675eb..8627619 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]