Skip to content

Commit

Permalink
Merge pull request #312 from mattiase/ci-emacs-version
Browse files Browse the repository at this point in the history
Run CI on Emacs 29. Fix Emacs 26 compatibility snag.
  • Loading branch information
monnier committed Oct 9, 2023
2 parents b09ab31 + 81aad01 commit 1d53723
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
emacs_version:
- "26.3"
- "27.2"
- "28.1"
- "28.2"
- "29.1"
- snapshot
steps:
- name: Set up Emacs
Expand Down
2 changes: 1 addition & 1 deletion ocamldebug.el
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ See also https://dune.readthedocs.io/en/latest/dune-files.html
(let* ((contents (ocamldebug--read-from-file dune))
(lib (and contents (ocamldebug--find-single-library contents)))
(is-wrapped
(and lib (null (seq-contains-p lib '(wrapped false)))))
(and lib (null (member '(wrapped false) lib))))
(libname (and is-wrapped (ocamldebug--dune-library-name lib))))
(if libname
(concat libname "__" (ocamldebug--upcase-first-char mod))
Expand Down

0 comments on commit 1d53723

Please sign in to comment.