File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -451,16 +451,16 @@ about this buffer (like variable `cider-repl-type')."
451
451
(plist-get nrepl-endpoint :port ))))))
452
452
453
453
(defvar-local cider-connection-capabilities '()
454
- " A list of some of the capabilites of this connection buffer.
455
- Aka what assumptions we make about the runtime.
454
+ " A list of some of the capabilities of this connection buffer.
455
+ In other words - what assumptions we make about the runtime.
456
456
This is more general than
457
457
`cider-nrepl-op-supported-p' and `cider-library-present-p' .
458
458
But does not need to replace them." )
459
459
460
- (defun cider-connection-has-capability-p (capability : optional connection-buffer )
461
- " Return non nil when the cider connection has CAPABILITY.
460
+ (defun cider-connection-has-capability-p (capability & optional conn-buf )
461
+ " Return non nil when the cider connection has CAPABILITY for CONN-BUF .
462
462
By default it assumes the connection buffer is current."
463
- (with-current-buffer (or connection-buffer (current-buffer ))
463
+ (with-current-buffer (or conn-buf (current-buffer ))
464
464
(member capability cider-connection-capabilities)))
465
465
466
466
You can’t perform that action at this time.
0 commit comments