Skip to content

Commit 1524bc3

Browse files
committed
Fix typos and grammar in docstrings
- "it's REPL buffer" -> "its" (possessive) - "socket REPL are" -> "socket REPLs are" (plural agreement) - Remove double period in inf-clojure--defun-at-point - "appropritate" -> "appropriate" - Add missing "version" in inf-clojure-display-version docstring
1 parent c40860b commit 1524bc3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

inf-clojure.el

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ prevent showing the startup message."
871871
"Used to transfer state between the socket process buffer & REPL buffer.")
872872

873873
(defvar-local inf-clojure-socket-buffer nil
874-
"Used to kill the associated socket buffer when it's REPL buffer is killed.")
874+
"Used to kill the associated socket buffer when its REPL buffer is killed.")
875875

876876
(defun inf-clojure-socket-filter (process output)
877877
"A filter that gets triggered each time the socket receives new OUTPUT.
@@ -896,7 +896,7 @@ OUTPUT is the latest data received from the process"
896896
(funcall inf-clojure-socket-callback)))))))
897897

898898
(defun inf-clojure-socket-repl-sentinel (process _event)
899-
"Ensures socket REPL are cleaned up when the REPL buffer is closed.
899+
"Ensures socket REPLs are cleaned up when the REPL buffer is closed.
900900
901901
PROCESS is the process object that is connected to a socket REPL.
902902
@@ -1029,7 +1029,7 @@ in the context of the buffer's namespace."
10291029
(defun inf-clojure--defun-at-point (&optional bounds)
10301030
"Return text or range of defun at point.
10311031
If BOUNDS is truthy return a dotted pair of beginning and end of
1032-
current defun else return the string.."
1032+
current defun else return the string."
10331033
(save-excursion
10341034
(end-of-defun)
10351035
(let ((end (point))
@@ -1131,7 +1131,7 @@ is present it will be used instead of the current file."
11311131
(defun inf-clojure--find-ns ()
11321132
"Return the namespace of the current Clojure buffer.
11331133
1134-
This function delegates its job to an appropritate function, considering
1134+
This function delegates its job to an appropriate function, considering
11351135
`inf-clojure-source-modes'."
11361136
(pcase (car (inf-clojure--get-preferred-major-modes))
11371137
('clojure-ts-mode (clojure-ts-find-ns))
@@ -1611,7 +1611,7 @@ Return the number of nested sexp the point was over or after."
16111611
(apply #'eldoc-add-command inf-clojure-extra-eldoc-commands))
16121612

16131613
(defun inf-clojure-display-version ()
1614-
"Display the current `inf-clojure' in the minibuffer."
1614+
"Display the current `inf-clojure' version in the minibuffer."
16151615
(interactive)
16161616
(message "inf-clojure (version %s)" inf-clojure-version))
16171617

0 commit comments

Comments
 (0)