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 @@ -381,12 +381,12 @@ Nil if point is before the current prompt."
381
381
't ))))
382
382
383
383
;;;### autoload
384
- (defun company-js-comint-backend (command &optional arg &rest _ignored )
384
+ (defun company-js-comint (command &optional arg &rest _ignored )
385
385
" Wraps node REPL completion for company."
386
386
(interactive (list 'interactive ))
387
387
(cl-case command
388
388
((interactive )
389
- (company-begin-backend 'company-jsc-backend ))
389
+ (company-begin-backend 'company-js-comint ))
390
390
((prefix)
391
391
(when (equal major-mode 'js-comint-mode )
392
392
(if (js-comint--should-complete)
@@ -396,7 +396,7 @@ Nil if point is before the current prompt."
396
396
(cons :async (apply-partially #'js-comint--get-completion arg)))))
397
397
398
398
(with-eval-after-load 'company
399
- (cl-pushnew #'company-js-comint-backend company-backends))
399
+ (cl-pushnew #'company-js-comint company-backends))
400
400
401
401
;;;### autoload
402
402
(defun js-comint-save-setup ()
@@ -596,7 +596,7 @@ If no region selected, you could manually input javascript expression."
596
596
" Cleanup mode settings."
597
597
(when company-backends
598
598
(setq company-backends
599
- (delete #'company-js-comint-backend company-backends))))
599
+ (delete #'company-js-comint company-backends))))
600
600
601
601
;;;### autoload
602
602
(define-derived-mode js-comint-mode comint-mode " Javascript REPL"
You can’t perform that action at this time.
0 commit comments