Skip to content

Commit cc74729

Browse files
committed
Merge branch 'develop'
2 parents f5ce3d5 + 77a864c commit cc74729

File tree

3 files changed

+104
-72
lines changed

3 files changed

+104
-72
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,27 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
emacs-version:
16-
- '25.3'
17-
- '26.1'
18-
- '26.2'
19-
- '26.3'
16+
- '27.1'
17+
- '27.2'
18+
- '28.1'
19+
- '28.2'
20+
- '29.1'
21+
- '29.2'
2022
node-version:
21-
- '10'
22-
- '12'
23-
- '13'
23+
- '18'
24+
- '20'
2425
steps:
25-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v4
2627
- uses: purcell/setup-emacs@master
2728
with:
2829
version: ${{ matrix.emacs-version }}
29-
- uses: actions/setup-node@v1
30+
- uses: actions/setup-node@v4
3031
with:
3132
node-version: ${{ matrix.node-version }}
3233

3334
- name: Set environement variables
3435
run: |
35-
echo "::add-path::$HOME/.cask/bin"
36+
echo "$HOME/.cask/bin" >> $GITHUB_PATH
3637
3738
- name: Install dependencies
3839
run: |

README.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ Description
1010

1111
This program is derived from comint-mode and provides the following features.
1212

13-
* token completion, same as Node.js REPL
14-
* file name completion in string
15-
* incremental history search
16-
* sending JavaScript codes to REPL
13+
* Token completion, same as Node.js REPL
14+
* File name completion in string
15+
* Incremental history search
16+
* Sending JavaScript code to REPL
1717

1818
Usage
1919
-----
2020

21-
Put this file in your Emacs lisp path (e.g. ~/.emacs.d/site-lisp)
21+
Put this file in your Emacs Lisp path (e.g. ~/.emacs.d/site-lisp)
2222
and add the following line to your .emacs:
2323

2424
```elisp
@@ -28,16 +28,10 @@ and add the following line to your .emacs:
2828
Type `M-x nodejs-repl` to run Node.js REPL.
2929
See also `comint-mode` to check key bindings.
3030

31-
You can define key bindings to send JavaScript codes to REPL like below:
31+
You can define key bindings to send JavaScript code to REPL as follows:
3232

3333
```elisp
34-
(add-hook 'js-mode-hook
35-
(lambda ()
36-
(define-key js-mode-map (kbd "C-x C-e") 'nodejs-repl-send-last-expression)
37-
(define-key js-mode-map (kbd "C-c C-j") 'nodejs-repl-send-line)
38-
(define-key js-mode-map (kbd "C-c C-r") 'nodejs-repl-send-region)
39-
(define-key js-mode-map (kbd "C-c C-l") 'nodejs-repl-load-file)
40-
(define-key js-mode-map (kbd "C-c C-z") 'nodejs-repl-switch-to-repl)))
34+
(add-hook 'js-mode-hook #'nodejs-repl-minor-mode)
4135
```
4236

4337
When a version manager such as nvm is used to run different versions
@@ -73,7 +67,7 @@ Takeshi Arabiki (abicky)
7367
Copyright and License
7468
---------------------
7569

76-
Copyright (C) 2012-2020 Takeshi Arabiki (abicky)
70+
Copyright (C) 2012-2024 Takeshi Arabiki (abicky)
7771

7872
This program is free software: you can redistribute it and/or modify
7973
it under the terms of the GNU General Public License as published by

0 commit comments

Comments
 (0)