Skip to content

Commit

Permalink
fix compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Dec 15, 2024
1 parent efb762c commit 54fdec8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
- os: windows-latest
emacs-version: snapshot
experimental: true
exclude:
- os: macos-latest
emacs-version: 26.3
- os: macos-latest
emacs-version: 27.2

steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 6 additions & 3 deletions echo-bar.el
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@
(require 'overlay)
(require 'seq)

;; TODO: Used in function `echo-bar--string-pixel-width';
;; remove it after 29.1
(eval-when-compile (require 'shr))
;; Compiler pacifier
(defvar overflow-newline-into-fringe)
(defvar after-focus-change-function)
(defvar window-state-change-hook)
(declare-function string-pixel-width "subr-x.el")
(declare-function shr-string-pixel-width "shr.el") ; TODO: remove this after 29.1

(defgroup echo-bar nil
"Display text at the end of the echo area."
Expand Down

0 comments on commit 54fdec8

Please sign in to comment.