Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
33 changes: 33 additions & 0 deletions .github/workflows/byte-compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Byte-compile

on:
push:
pull_request:
workflow_dispatch:

jobs:
byte-compile:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
emacs_version:
- '24.4'
- '30.1'
- snapshot
steps:
- name: Checkout
uses: actions/checkout@v5

- name: Set up Emacs
uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}

- name: Byte-compile with warnings as errors
run: |
emacs --batch -L . \
--eval '(setq byte-compile-error-on-warn t)' \
-f batch-byte-compile \
caml.el inf-caml.el caml-help.el caml-types.el \
caml-font.el caml-font-old.el camldebug.el
3 changes: 2 additions & 1 deletion caml-font-old.el
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

(defface caml-font-stop-face
'((t :foreground "White" :background "Red"))
"Extra faces for documentation.")
"Extra faces for documentation."
:group 'languages)
(define-obsolete-face-alias 'Stop 'caml-font-stop-face "2023")
(unless (boundp 'font-lock-stop-face)
(defvar font-lock-stop-face 'caml-font-stop-face)
Expand Down
6 changes: 4 additions & 2 deletions caml-font.el
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@

(defface caml-font-stop-face
'((t :foreground "White" :background "Red"))
"Extra faces for documentation.")
"Extra faces for documentation."
:group 'languages)
(defvar caml-font-stop-face 'caml-font-stop-face)
(make-obsolete-variable 'caml-font-stop-face "use the face instead" "2023")

(defface caml-font-doccomment-face
'((t :foreground "Red")) ;; FIXME: Inherit from `font-lock-doc-face'?
"Face for ocamldoc comments.")
"Face for ocamldoc comments."
:group 'languages)
(defvar caml-font-doccomment-face 'caml-font-doccomment-face)
(make-obsolete-variable 'caml-font-doccomment-face "use the face instead" "2023")

Expand Down
6 changes: 4 additions & 2 deletions camldebug.el
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,15 @@

(defface camldebug-event
'((t :inverse-video t))
"Face to highlight the first/last char of current event.")
"Face to highlight the first/last char of current event."
:group 'languages)

(defface camldebug-underline
;; FIXME: The name should describe what it's used for, not what it looks
;; like by default!
'((t :underline t))
"Face to highlight the rest of current event.")
"Face to highlight the rest of current event."
:group 'languages)

;;; Camldebug mode.

Expand Down