Skip to content

Commit 64c9ee4

Browse files
committed
Fix CI failures
1 parent b626843 commit 64c9ee4

File tree

3 files changed

+13
-19
lines changed

3 files changed

+13
-19
lines changed

.circleci/config.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,6 @@ commands:
5151
command: eldev -dtT compile --warnings-as-errors
5252

5353
jobs:
54-
test-ubuntu-emacs-27:
55-
docker:
56-
- image: silex/emacs:27-ci
57-
entrypoint: bash
58-
steps:
59-
- setup
60-
- test
61-
6254
test-ubuntu-emacs-28:
6355
docker:
6456
- image: silex/emacs:28-ci
@@ -119,7 +111,6 @@ workflows:
119111
version: 2
120112
ci-test-matrix:
121113
jobs:
122-
- test-ubuntu-emacs-27
123114
- test-ubuntu-emacs-28
124115
- test-ubuntu-emacs-29
125116
- test-ubuntu-emacs-30

inf-clojure.el

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
;; URL: http://github.com/clojure-emacs/inf-clojure
99
;; Keywords: processes, comint, clojure
1010
;; Version: 3.3.0-snapshot
11-
;; Package-Requires: ((emacs "27.1") (clojure-mode "5.11"))
11+
;; Package-Requires: ((emacs "28.1") (clojure-mode "5.11"))
1212

1313
;; This file is not part of GNU Emacs.
1414

@@ -1004,12 +1004,16 @@ of forms."
10041004
(while (not (eobp))
10051005
(while (looking-at "\n")
10061006
(delete-char 1))
1007+
;; NOTE: There is no special API for that in
1008+
;; `clojure-ts-mode', so probably for now lets keep this
1009+
;; `clojure-mode' function.
10071010
(unless (eobp)
1008-
;; NOTE: There is no special API for that in
1009-
;; `clojure-ts-mode', so probably for now lets keep this
1010-
;; `clojure-mode' function.
1011-
(clojure-forward-logical-sexp)
1012-
(forward-char)))
1011+
(clojure-forward-logical-sexp))
1012+
(unless (eobp)
1013+
(forward-char)
1014+
;; Remove an empty line at the end of the buffer.
1015+
(when (eobp)
1016+
(delete-char -1))))
10131017
(buffer-substring-no-properties (point-min) (point-max))))
10141018
(scan-error str)))
10151019

@@ -1503,7 +1507,7 @@ evaluating \\[inf-clojure-completion-form] at the REPL."
15031507
(funcall inf-clojure-completions-fn
15041508
(inf-clojure--process-response completion-expr proc "(" ")"))))))
15051509

1506-
(defconst inf-clojure-clojure-expr-break-chars "^[] \"'`><,;|&{()[@\\^]"
1510+
(defconst inf-clojure-clojure-expr-break-chars "^\[] \"'`><,;|&{()@\\^"
15071511
"Regexp are hard.
15081512
15091513
This regex has been built in order to match the first of the

test/inf-clojure-tests.el

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,8 @@
8888
(ict-with-assess-buffers
8989
((a (insert "@")))
9090
(with-current-buffer a
91-
(expect
92-
(ict-bounds-string (inf-clojure-completion-bounds-of-expr-at-point))
93-
:not :to-be nil))))
91+
(expect (inf-clojure-completion-bounds-of-expr-at-point)
92+
:to-be nil))))
9493

9594
(it "computes bounds for [symbol"
9695
(ict-with-assess-buffers

0 commit comments

Comments
 (0)