File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ This is used to mark the end of completion output.")
271
271
This is used specifically to remove input used to trigger completion.
272
272
CALLBACK allows chaining an action after clearing."
273
273
(setq js-comint--discard-output (or callback 't ))
274
- (comint -send-string
274
+ (process -send-string
275
275
(js-comint-get-process)
276
276
" " ))
277
277
@@ -284,11 +284,11 @@ CALLBACK allows chaining an action after clearing."
284
284
; ; Need to send 2x tabs to trigger completion when there is no input
285
285
; ; 1st tab usually does common prefix
286
286
(when (string-empty-p input-string)
287
- (comint -send-string
287
+ (process -send-string
288
288
(js-comint-get-process)
289
289
" \t " ))
290
290
291
- (comint -send-string
291
+ (process -send-string
292
292
(js-comint-get-process)
293
293
(format " %s \t " input-string)))
294
294
@@ -338,7 +338,7 @@ PREFIX is the original completion prefix string."
338
338
(message " exact match output " )
339
339
; ; Completions like Array. seem to need a second tab after the response
340
340
(if (string-suffix-p " ." js-comint--completion-prefix)
341
- (comint -send-string
341
+ (process -send-string
342
342
(js-comint-get-process)
343
343
" \t " )
344
344
; ; Otherwise there was no match, so reset
You can’t perform that action at this time.
0 commit comments