emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/typescript-mode 4e10fd7973 2/2: Merge pull request #181 fr


From: ELPA Syncer
Subject: [nongnu] elpa/typescript-mode 4e10fd7973 2/2: Merge pull request #181 from jdufresne/typo
Date: Mon, 16 Jan 2023 02:03:14 -0500 (EST)

branch: elpa/typescript-mode
commit 4e10fd79736e07182b9318c2600b52497b3be779
Merge: 2e66d8e597 abdc9f17b1
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: GitHub <noreply@github.com>

    Merge pull request #181 from jdufresne/typo
    
    Fix some typos
---
 typescript-mode-general-tests.el | 2 +-
 typescript-mode.el               | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/typescript-mode-general-tests.el b/typescript-mode-general-tests.el
index 8522eedeec..d013ac3eba 100644
--- a/typescript-mode-general-tests.el
+++ b/typescript-mode-general-tests.el
@@ -428,7 +428,7 @@ function foo<Z, Y, Z & Y, Z | Y | Z, Y<X<X, Y>>>()\n"
    '((("div" . nil)))))
 
 (ert-deftest font-lock/regexp ()
-  "Regular expresssions should be fontified as string constant."
+  "Regular expressions should be fontified as string constant."
   (let ((content "=/foo/ (/bar/ ,/baz/ :/buzz/"))
     (font-lock-test content
                     '(("=" . nil) ("/foo/" . font-lock-string-face)
diff --git a/typescript-mode.el b/typescript-mode.el
index 47f8fa90f6..bcb7f19c89 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -711,7 +711,7 @@ is called whenever a plain string delimiter is typed in the 
buffer."
              (string-start (or (and str-terminator (nth 8 syntax))
                                ;; We have to consider the case that we're on 
the start delimiter of a string.
                                ;; We tentatively take (point) as string-start. 
If it turns out we're
-                               ;; wrong, then 
typescript--move-to-end-of-plain-string will fail anway,
+                               ;; wrong, then 
typescript--move-to-end-of-plain-string will fail anyway,
                                ;; and we won't use the bogus value.
                                (progn
                                  (forward-char)
@@ -1500,7 +1500,7 @@ LIMIT defaults to point."
 ;; Like (up-list -1), but only considers lists that end nearby"
 (defun typescript--up-nearby-list ()
   (save-restriction
-    ;; Look at a very small region so our compuation time doesn't
+    ;; Look at a very small region so our computation time doesn't
     ;; explode in pathological cases.
     (narrow-to-region (max (point-min) (- (point) 500)) (point))
     (up-list -1)))
@@ -2084,7 +2084,7 @@ will be returned."
 
 (defun typescript-syntactic-context ()
   "Return the typescript syntactic context at point.
-When called interatively, also display a message with that
+When called interactively, also display a message with that
 context."
   (interactive)
   (let* ((syntactic-context (typescript--syntactic-context-from-pstate



reply via email to

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