Skip to content

Commit 18fff72

Browse files
committed
Fix typos
1 parent 31c830a commit 18fff72

7 files changed

+10
-10
lines changed

google-c-style.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
4040
This implements title \"Function Declarations and Definitions\"
4141
of the Google C++ Style Guide for the case where the previous
42-
line ends with an open parenthese.
42+
line ends with an open parenthesis.
4343
4444
\"Current C expression\", as per the Google Style Guide and as
4545
clarified by subsequent discussions, means the whole expression

javascriptguide.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3072,7 +3072,7 @@
30723072
/**
30733073
* Whether to cancel the event in internal capture/bubble processing.
30743074
* @public {boolean}
3075-
* @suppress {visiblity} Referencing this outside this package is strongly
3075+
* @suppress {visibility} Referencing this outside this package is strongly
30763076
* discouraged.
30773077
*/
30783078
goog.events.Event.prototype.propagationStopped_ = false;

jsguide.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ <h4 id="non-ascii-characters">2.3.3 Non-ASCII characters</h4>
9292
<pre><code class="language-js prettyprint">/* Best: perfectly clear even without a comment. */
9393
const units = '&#956;s';
9494

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

9898
/* Good: use escapes for non-printable characters with a comment for clarity. */

lispguide.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -805,8 +805,8 @@ Robert Brown
805805
<p>
806806
You should strive to keep top-level forms,
807807
including comments but excluding the documentation string, of
808-
appropriate length; preferrably short. Forms extending beyond a
809-
single page should be rare and their use should be justfied.
808+
appropriate length; preferably short. Forms extending beyond a
809+
single page should be rare and their use should be justified.
810810
This applies to each of the forms in an <code>eval-when</code>,
811811
rather than to the <code>eval-when</code> itself.
812812
Additionally, <code>defpackage</code> forms may be longer,
@@ -3116,7 +3116,7 @@ Robert Brown
31163116
You must not use exact comparison on floating point numbers,
31173117
since the vague nature of floating point arithmetic
31183118
can produce little "errors" in numeric value.
3119-
You should compare absolute values to a threshhold.
3119+
You should compare absolute values to a threshold.
31203120
</p>
31213121
<p>
31223122
You must use <code>=</code> to compare numbers,

styleguide.xsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ xmlns:fn="http://www.w3.org/2005/xpath-functions">
687687
- c: the indentation of the current python block, in other words, the
688688
indentation of the first line of this block, which is the
689689
indentation of the last line we saw that ended with a colon.
690-
- d: the "total" indentation of the line, ignorng possible "Yes:" or
690+
- d: the "total" indentation of the line, ignoring possible "Yes:" or
691691
"No:" text on the line.
692692
693693
For example, for the last line of the following code snippet, the

vimscriptfull.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
<code>&gt;=#</code> must be used for strings.
108108
</li>
109109
<li>
110-
The behavior of <code>=~</code> and friends is dependant upon the
110+
The behavior of <code>=~</code> and friends is dependent upon the
111111
<code>ignorecase</code> setting.
112112
</li>
113113
<li>
@@ -232,7 +232,7 @@
232232
Loud scripts are annoying.
233233
</li>
234234
<li>
235-
Message the user when an error has occured.
235+
Message the user when an error has occurred.
236236
</li>
237237
<li>
238238
Message the user when an operation which takes a long time has

vimscriptguide.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
<STYLEPOINT title="Catching Exceptions">
111111
<SUMMARY>Match error codes, not error text.</SUMMARY>
112112
<BODY>
113-
<p>Error text may be locale dependant.</p>
113+
<p>Error text may be locale dependent.</p>
114114
</BODY>
115115
</STYLEPOINT>
116116
</CATEGORY>

0 commit comments

Comments
 (0)