branch: elpa/autothemer
commit 99fd9b45ef6cc931fcf030b1a6c050ca3c17ce04
Author: Danny Willems <[email protected]>
Commit: GitHub <[email protected]>

    Fix byte-compile docstring warnings; test on Emacs 30.1 (#31)
    
    * Fix unescaped single quotes in two docstrings
    
    The byte-compiler warns that the docstrings of
    `autothemer--reduced-spec-to-facespec' and `autothemer--plist-bind'
    use unescaped single quotes. The quotes start quoted-list examples
    (such as '(min-colors 60)) and the checker pairs them as text quotes.
    
    Escape the opening quote of each example with \=' so the byte-compiler
    recognizes them as literal apostrophes. This only changes the docstring
    text; the documented examples render identically and no code behaviour
    changes.
    
    * ci: test on Emacs 30.1 and add dependabot
    
    Add Emacs 30.1 to the test matrix so the suite runs against the latest
    stable release in addition to the existing 26.x-28.x and snapshot
    versions. Bump actions/checkout to v5 and pin purcell/setup-emacs to
    master.
    
    Add a weekly Dependabot configuration for GitHub Actions so workflow
    action versions stay current.
---
 .github/dependabot.yml     | 6 ++++++
 .github/workflows/test.yml | 7 ++++---
 autothemer.el              | 8 ++++----
 3 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000000..5ace4600a1
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,6 @@
+version: 2
+updates:
+  - package-ecosystem: "github-actions"
+    directory: "/"
+    schedule:
+      interval: "weekly"
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 233b490d43..b211ff3bb6 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -2,7 +2,7 @@ name: Autothemer Tests
 
 on:
   push:
-    branches: 
+    branches:
       - master
   pull_request:
 
@@ -19,12 +19,13 @@ jobs:
           - 27.2
           - 28.1
           - 28.2
+          - 30.1
           - snapshot
       fail-fast: false
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v5
     - name: Set up Emacs
-      uses: purcell/[email protected]
+      uses: purcell/setup-emacs@master
       with:
         version: ${{ matrix.emacs_version }}
 
diff --git a/autothemer.el b/autothemer.el
index c9cfe5acae..3980d31ac0 100644
--- a/autothemer.el
+++ b/autothemer.el
@@ -157,8 +157,8 @@ This is the default `autothemer-brightness-group'.")
 For example:
 
      (autothemer--reduced-spec-to-facespec
-        '(min-colors 60)
-        '(button (:underline t :foreground red)))
+        \='(min-colors 60)
+        \='(button (:underline t :foreground red)))
      ;; => `(button (((min-colors 60) (:underline ,t :foreground ,red))))."
   (let* ((face (elt reduced-specs 0))
          (properties (elt reduced-specs 1))
@@ -532,8 +532,8 @@ See also `autothemer--color-p',
 
 For example:
 
-    (autothemer--plist-bind (a b c) '(:a 1 :b 2 :c 3) (list a b))
-    => '(1 2)
+    (autothemer--plist-bind (a b c) \='(:a 1 :b 2 :c 3) (list a b))
+    => \='(1 2)
 
 If PLIST is nil, ARGS are bound to BODY nil values."
   `(if (listp ,plist)

Reply via email to