Skip to content

Commit a9e1931

Browse files
committed
Support Emacs 28.1
1 parent 8f11068 commit a9e1931

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/workflows/run-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# '25.1' fails for some reason even though `make lint_in_docker` succeeds.
1717
# swift-mode-beginning-of-defun.el:1081: All variables and subroutines might as well have a documentation string
1818
# swift-mode-beginning-of-defun.el:1135: All variables and subroutines might as well have a documentation string
19-
version: ['24.4', '24.5', '25.2', '25.3', '26.1', '26.2', '26.3', '27.1', '27.2', 'snapshot']
19+
version: ['24.4', '24.5', '25.2', '25.3', '26.1', '26.2', '26.3', '27.1', '27.2', '28.1', 'snapshot']
2020

2121
env:
2222
ELDEV_DIR: .eldev

scripts/lint_in_docker.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
# Run linter in Docker. Used in Makefile.
44

5-
for version in 24 25 26 27
5+
for version in 28 27 26 25 24
66
do
7+
rm -f *.elc
78
docker \
89
run \
910
--rm \

scripts/test_in_docker.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
# Run tests in Docker. Used in Makefile.
44

5-
for version in 24 25 26 27
5+
for version in 28 27 26 25 24
66
do
7+
rm -f *.elc
78
docker \
89
run \
910
--rm \

swift-mode-repl.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ The string is split by spaces, then unquoted."
117117
"Stores the name of the current swift REPL buffer, or nil.")
118118

119119
(defvar swift-mode:repl-command-queue nil
120-
"List of strings to be executed on REPL prompts.
120+
"List of strings to be executed on REPL.
121121
122122
Use `swift-mode:enqueue-repl-commands' to enqueue commands.
123123
If an element is a cons cell, its car is used as a regexp for prompt and
@@ -665,7 +665,7 @@ STRING is passed to the command."
665665
'swift-mode:wait-for-prompt-then-execute-commands t)))))
666666

667667
(defun swift-mode:enqueue-repl-commands (&rest commands)
668-
"Enqueue COMMANDS to be executed on REPL prompts."
668+
"Enqueue COMMANDS to be executed on REPL."
669669
(with-current-buffer swift-mode:repl-buffer
670670
(setq-local swift-mode:repl-command-queue
671671
(append swift-mode:repl-command-queue commands))

0 commit comments

Comments
 (0)