Skip to content

Commit

Permalink
Merge pull request google#673 from rex4539/typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
sfreilich authored Feb 10, 2022
2 parents 31c830a + 18fff72 commit af78b49
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion google-c-style.el
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
This implements title \"Function Declarations and Definitions\"
of the Google C++ Style Guide for the case where the previous
line ends with an open parenthese.
line ends with an open parenthesis.
\"Current C expression\", as per the Google Style Guide and as
clarified by subsequent discussions, means the whole expression
Expand Down
2 changes: 1 addition & 1 deletion javascriptguide.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3072,7 +3072,7 @@
/**
* Whether to cancel the event in internal capture/bubble processing.
* @public {boolean}
* @suppress {visiblity} Referencing this outside this package is strongly
* @suppress {visibility} Referencing this outside this package is strongly
* discouraged.
*/
goog.events.Event.prototype.propagationStopped_ = false;
Expand Down
2 changes: 1 addition & 1 deletion jsguide.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h4 id="non-ascii-characters">2.3.3 Non-ASCII characters</h4>
<pre><code class="language-js prettyprint">/* Best: perfectly clear even without a comment. */
const units = '&#956;s';

/* Allowed: but unncessary as &#956; is a printable character. */
/* Allowed: but unnecessary as &#956; is a printable character. */
const units = '\u03bcs'; // '&#956;s'

/* Good: use escapes for non-printable characters with a comment for clarity. */
Expand Down
6 changes: 3 additions & 3 deletions lispguide.xml
Original file line number Diff line number Diff line change
Expand Up @@ -805,8 +805,8 @@ Robert Brown
<p>
You should strive to keep top-level forms,
including comments but excluding the documentation string, of
appropriate length; preferrably short. Forms extending beyond a
single page should be rare and their use should be justfied.
appropriate length; preferably short. Forms extending beyond a
single page should be rare and their use should be justified.
This applies to each of the forms in an <code>eval-when</code>,
rather than to the <code>eval-when</code> itself.
Additionally, <code>defpackage</code> forms may be longer,
Expand Down Expand Up @@ -3116,7 +3116,7 @@ Robert Brown
You must not use exact comparison on floating point numbers,
since the vague nature of floating point arithmetic
can produce little "errors" in numeric value.
You should compare absolute values to a threshhold.
You should compare absolute values to a threshold.
</p>
<p>
You must use <code>=</code> to compare numbers,
Expand Down
2 changes: 1 addition & 1 deletion styleguide.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ xmlns:fn="http://www.w3.org/2005/xpath-functions">
- c: the indentation of the current python block, in other words, the
indentation of the first line of this block, which is the
indentation of the last line we saw that ended with a colon.
- d: the "total" indentation of the line, ignorng possible "Yes:" or
- d: the "total" indentation of the line, ignoring possible "Yes:" or
"No:" text on the line.
For example, for the last line of the following code snippet, the
Expand Down
4 changes: 2 additions & 2 deletions vimscriptfull.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<code>&gt;=#</code> must be used for strings.
</li>
<li>
The behavior of <code>=~</code> and friends is dependant upon the
The behavior of <code>=~</code> and friends is dependent upon the
<code>ignorecase</code> setting.
</li>
<li>
Expand Down Expand Up @@ -232,7 +232,7 @@
Loud scripts are annoying.
</li>
<li>
Message the user when an error has occured.
Message the user when an error has occurred.
</li>
<li>
Message the user when an operation which takes a long time has
Expand Down
2 changes: 1 addition & 1 deletion vimscriptguide.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<STYLEPOINT title="Catching Exceptions">
<SUMMARY>Match error codes, not error text.</SUMMARY>
<BODY>
<p>Error text may be locale dependant.</p>
<p>Error text may be locale dependent.</p>
</BODY>
</STYLEPOINT>
</CATEGORY>
Expand Down

0 comments on commit af78b49

Please sign in to comment.