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

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

[nongnu] elpa/cider 20debc8269: Fix several typos


From: ELPA Syncer
Subject: [nongnu] elpa/cider 20debc8269: Fix several typos
Date: Tue, 30 Aug 2022 01:58:13 -0400 (EDT)

branch: elpa/cider
commit 20debc82696bdd5ce807618d02665b92a4274492
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>

    Fix several typos
---
 CHANGELOG.md              | 2 +-
 cider-common.el           | 2 +-
 test/cider-eldoc-tests.el | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 48006cef77..972fee91e4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1307,7 +1307,7 @@ the option `cider-repl-use-clojure-font-lock`.
 
 * Added new interactive command `cider-read-and-eval` (bound to `C-c M-:` in 
`cider-mode`).
 * Added new interactive command `cider-eval-last-sexp-to-repl` (`C-c M-e`). 
The command will output the result
-of the evaluated code to the REPL buffer, so you can easily play with the 
output there afterwords.
+of the evaluated code to the REPL buffer, so you can easily play with the 
output there afterwards.
 * Added new interactive command `cider-insert-last-sexp-in-repl` (`C-c M-p`).
 * Added new interactive command `cider-eval-last-expression-and-replace` (`C-c 
C-w`).
 * Implemented REPL shortcuts, triggered by pressing `,` at the start of a REPL 
input line (similar to the ones in SLIME).
diff --git a/cider-common.el b/cider-common.el
index 184eef5cae..bec0b15da9 100644
--- a/cider-common.el
+++ b/cider-common.el
@@ -287,7 +287,7 @@ in the container, the alist would be `((\"/src\" 
\"~/projects/foo/src\"))."
 (defun cider--translate-path (path direction)
   "Attempt to translate the PATH in the given DIRECTION.
 Looks at `cider-path-translations' for (container . host) alist of path
-prefixes and translates PATH from container to host or viceversa depending on
+prefixes and translates PATH from container to host or vice-versa depending on
 whether DIRECTION is 'from-nrepl or 'to-nrepl."
   (seq-let [from-fn to-fn path-fn] (cond ((eq direction 'from-nrepl) '(car cdr 
identity))
                                          ((eq direction 'to-nrepl) '(cdr car 
expand-file-name)))
diff --git a/test/cider-eldoc-tests.el b/test/cider-eldoc-tests.el
index 295a1a3234..97623c4967 100644
--- a/test/cider-eldoc-tests.el
+++ b/test/cider-eldoc-tests.el
@@ -174,7 +174,7 @@
     (with-temp-buffer
       (clojure-mode)
       (save-excursion (insert "(map inc [1 2 3])"))
-      ;; whem cursor is on map, display its eldoc
+      ;; when cursor is on map, display its eldoc
       (search-forward "map")
       (expect (cider-eldoc-info-in-current-sexp) :to-equal
               '("eldoc-info" ("clojure.core" "map" (("f") ("f" "coll"))) 
"thing" "map" "pos" 0))
@@ -195,7 +195,7 @@
       (with-temp-buffer
         (clojure-mode)
         (save-excursion (insert "(map inc [1 2 3])"))
-        ;; whem cursor is on map, display its eldoc
+        ;; when cursor is on map, display its eldoc
         (search-forward "map")
         (expect (cider-eldoc-info-in-current-sexp) :to-equal
                 '("eldoc-info" ("clojure.core" "map" (("f") ("f" "coll"))) 
"thing" "map" "pos" 0))



reply via email to

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