branch: elpa/swift-mode commit a9e1931699d324fb5753792bd6ab7ea6ec11a61c Author: taku0 <mxxouy6x3m_git...@tatapa.org> Commit: taku0 <ta...@users.noreply.github.com>
Support Emacs 28.1 --- .github/workflows/run-test.yml | 2 +- scripts/lint_in_docker.sh | 3 ++- scripts/test_in_docker.sh | 3 ++- swift-mode-repl.el | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index cf31074404..1f436a5d3e 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -16,7 +16,7 @@ jobs: # '25.1' fails for some reason even though `make lint_in_docker` succeeds. # swift-mode-beginning-of-defun.el:1081: All variables and subroutines might as well have a documentation string # swift-mode-beginning-of-defun.el:1135: All variables and subroutines might as well have a documentation string - version: ['24.4', '24.5', '25.2', '25.3', '26.1', '26.2', '26.3', '27.1', '27.2', 'snapshot'] + version: ['24.4', '24.5', '25.2', '25.3', '26.1', '26.2', '26.3', '27.1', '27.2', '28.1', 'snapshot'] env: ELDEV_DIR: .eldev diff --git a/scripts/lint_in_docker.sh b/scripts/lint_in_docker.sh index f3f1a1dea4..5fcba171a9 100755 --- a/scripts/lint_in_docker.sh +++ b/scripts/lint_in_docker.sh @@ -2,8 +2,9 @@ # Run linter in Docker. Used in Makefile. -for version in 24 25 26 27 +for version in 28 27 26 25 24 do + rm -f *.elc docker \ run \ --rm \ diff --git a/scripts/test_in_docker.sh b/scripts/test_in_docker.sh index 5eee9b0604..f1533ba5ad 100755 --- a/scripts/test_in_docker.sh +++ b/scripts/test_in_docker.sh @@ -2,8 +2,9 @@ # Run tests in Docker. Used in Makefile. -for version in 24 25 26 27 +for version in 28 27 26 25 24 do + rm -f *.elc docker \ run \ --rm \ diff --git a/swift-mode-repl.el b/swift-mode-repl.el index 3751f18aeb..92bee3632e 100644 --- a/swift-mode-repl.el +++ b/swift-mode-repl.el @@ -117,7 +117,7 @@ The string is split by spaces, then unquoted." "Stores the name of the current swift REPL buffer, or nil.") (defvar swift-mode:repl-command-queue nil - "List of strings to be executed on REPL prompts. + "List of strings to be executed on REPL. Use `swift-mode:enqueue-repl-commands' to enqueue commands. 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." 'swift-mode:wait-for-prompt-then-execute-commands t))))) (defun swift-mode:enqueue-repl-commands (&rest commands) - "Enqueue COMMANDS to be executed on REPL prompts." + "Enqueue COMMANDS to be executed on REPL." (with-current-buffer swift-mode:repl-buffer (setq-local swift-mode:repl-command-queue (append swift-mode:repl-command-queue commands))