31
31
; ; A connection is an abstract idea of the communication between Emacs (client)
32
32
; ; and nREPL server. On Emacs side connections are represented by two running
33
33
; ; processes. The two processes are the server process and client process. Each
34
- ; ; of these is represented by it's own process buffer, filter and sentinel.
34
+ ; ; of these is represented by its own process buffer, filter and sentinel.
35
35
; ;
36
36
; ; The nREPL communication process can be broadly represented as follows:
37
37
; ;
@@ -207,7 +207,7 @@ The name will include the project name if available or the endpoint host if
207
207
it is not. The name will also include the connection port if
208
208
`nrepl-buffer-name-show-port' is true.
209
209
210
- If optional DUP-OK is non-nil, the returned buffer is not \" uniquefied \" by
210
+ If optional DUP-OK is non-nil, the returned buffer is not \" uniquified \" by
211
211
`generate-new-buffer-name' ."
212
212
(let* ((project-name (nrepl--project-name (or project-dir nrepl-project-dir)))
213
213
(nrepl-proj-port (or port (cadr nrepl-endpoint)))
@@ -409,7 +409,7 @@ FN must accept two arguments key and value."
409
409
" Join nREPL dicts DICT1 and DICT2 in a meaningful way.
410
410
String values for non \" id\" and \" session\" keys are concatenated. Lists
411
411
are appended. nREPL dicts merged recursively. All other objects are
412
- accumulated accumulated into a list. DICT1 is modified destructively and
412
+ accumulated into a list. DICT1 is modified destructively and
413
413
then returned."
414
414
(if no-join
415
415
(or dict1 dict2)
@@ -827,12 +827,12 @@ and 'status'.
827
827
828
828
The presence of a particular key determines the type of the response. For
829
829
example, if 'value' key is present, the response is of type 'value', if
830
- 'out' key is present the response is 'stdout' etc. Depending on the typea ,
830
+ 'out' key is present the response is 'stdout' etc. Depending on the type ,
831
831
the handler dispatches the appropriate value to one of the supplied
832
832
handlers: VALUE-HANDLER, STDOUT-HANDLER, STDERR-HANDLER, DONE-HANDLER, and
833
833
EVAL-ERROR-HANDLER. If the optional EVAL-ERROR-HANDLER is nil, the default
834
834
`nrepl-err-handler' is used. If any of the other supplied handlers are nil
835
- nothing happens for the coresponding type of response.
835
+ nothing happens for the corresponding type of response.
836
836
837
837
When `nrepl-log-messages' is non-nil, *nrepl-messages* buffer contains
838
838
server responses."
@@ -1118,11 +1118,11 @@ memory burden, while providing reasonable history.")
1118
1118
1119
1119
(defconst nrepl-message-buffer-reduce-denominator 4
1120
1120
" Divisor by which to reduce message buffer size.
1121
- When the maximum size for the nREPL message buffer is exceed , the
1122
- size of the buffer is reduced by one over this value. Defaults
1123
- to 4, so that 1/4 of the buffer is removed, which should ensure
1124
- the buffer's maximum is reasonably utilised, while limiting the
1125
- number of buffer shrinking operations." )
1121
+ When the maximum size for the nREPL message buffer is exceeded , the size of
1122
+ the buffer is reduced by one over this value. Defaults to 4, so that 1/4
1123
+ of the buffer is removed, which should ensure the buffer's maximum is
1124
+ reasonably utilised, while limiting the number of buffer shrinking
1125
+ operations." )
1126
1126
1127
1127
(defvar nrepl-messages-mode-map
1128
1128
(let ((map (make-sparse-keymap )))
@@ -1248,7 +1248,7 @@ Purge the dead buffers from the `nrepl-connection-list' beforehand."
1248
1248
; ; the connection list, same holds for `cider-rotate-connection' .
1249
1249
(defun nrepl-make-connection-default (connection-buffer )
1250
1250
" Make the nREPL CONNECTION-BUFFER the default connection.
1251
- Moves CONNECITON -BUFFER to the front of `nrepl-connection-list' ."
1251
+ Moves CONNECTION -BUFFER to the front of `nrepl-connection-list' ."
1252
1252
(interactive (list nrepl-connection-buffer))
1253
1253
(if connection-buffer
1254
1254
; ; maintain the connection list in most recently used order
@@ -1259,8 +1259,8 @@ Moves CONNECITON-BUFFER to the front of `nrepl-connection-list'."
1259
1259
(message " Not in an nREPL REPL buffer. " )))
1260
1260
1261
1261
(defun nrepl--close-connection-buffer (conn-buffer )
1262
- " Closes CONN-BUFFER, removing it from `nrepl-connection-list' .
1263
- Also closes associated REPL and server buffers."
1262
+ " Close CONN-BUFFER, removing it from `nrepl-connection-list' .
1263
+ Also close associated REPL and server buffers."
1264
1264
(let ((buffer (get-buffer conn-buffer)))
1265
1265
(setq nrepl-connection-list
1266
1266
(delq (buffer-name buffer) nrepl-connection-list))
0 commit comments