Skip to content

Commit 4e10fd7

Browse files
authored
Merge pull request #181 from jdufresne/typo
Fix some typos
2 parents 2e66d8e + abdc9f1 commit 4e10fd7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

typescript-mode-general-tests.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ function foo<Z, Y, Z & Y, Z | Y | Z, Y<X<X, Y>>>()\n"
428428
'((("div" . nil)))))
429429

430430
(ert-deftest font-lock/regexp ()
431-
"Regular expresssions should be fontified as string constant."
431+
"Regular expressions should be fontified as string constant."
432432
(let ((content "=/foo/ (/bar/ ,/baz/ :/buzz/"))
433433
(font-lock-test content
434434
'(("=" . nil) ("/foo/" . font-lock-string-face)

typescript-mode.el

+3-3
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ is called whenever a plain string delimiter is typed in the buffer."
711711
(string-start (or (and str-terminator (nth 8 syntax))
712712
;; We have to consider the case that we're on the start delimiter of a string.
713713
;; We tentatively take (point) as string-start. If it turns out we're
714-
;; wrong, then typescript--move-to-end-of-plain-string will fail anway,
714+
;; wrong, then typescript--move-to-end-of-plain-string will fail anyway,
715715
;; and we won't use the bogus value.
716716
(progn
717717
(forward-char)
@@ -1500,7 +1500,7 @@ LIMIT defaults to point."
15001500
;; Like (up-list -1), but only considers lists that end nearby"
15011501
(defun typescript--up-nearby-list ()
15021502
(save-restriction
1503-
;; Look at a very small region so our compuation time doesn't
1503+
;; Look at a very small region so our computation time doesn't
15041504
;; explode in pathological cases.
15051505
(narrow-to-region (max (point-min) (- (point) 500)) (point))
15061506
(up-list -1)))
@@ -2084,7 +2084,7 @@ will be returned."
20842084

20852085
(defun typescript-syntactic-context ()
20862086
"Return the typescript syntactic context at point.
2087-
When called interatively, also display a message with that
2087+
When called interactively, also display a message with that
20882088
context."
20892089
(interactive)
20902090
(let* ((syntactic-context (typescript--syntactic-context-from-pstate

0 commit comments

Comments
 (0)