seagle0128 / doom-modeline

A fancy and fast mode-line inspired by minimalism design.
https://seagle0128.github.io/doom-modeline/
GNU General Public License v3.0
1.27k stars 157 forks source link

[Bug] Compiler warnings about `meow*` functions #723

Closed dr-scsi closed 3 months ago

dr-scsi commented 3 months ago

Thank you for the bug report

Bug description

Compiling the latest version (20240603.608) installed from MELPA produces:

In end of data:
doom-modeline-segments.el:1791:9: Warning: the function ‘meow-keypad-mode-p’
    is not known to be defined.
doom-modeline-segments.el:1790:9: Warning: the function ‘meow-motion-mode-p’
    is not known to be defined.
doom-modeline-segments.el:1789:9: Warning: the function ‘meow-beacon-mode-p’
    is not known to be defined.
doom-modeline-segments.el:1788:9: Warning: the function ‘meow-insert-mode-p’
    is not known to be defined.
doom-modeline-segments.el:1787:9: Warning: the function ‘meow-normal-mode-p’
    is not known to be defined.
doom-modeline-segments.el:1785:20: Warning: the function ‘meow--current-state’
    is not known to be defined.

I think this is due to commit 9ad3415.

Steps to reproduce

Byte-compile the package without meow installed.

Expected behavior

No compiler warnings.

OS

MacOS

Emacs Version

30 (gccemacs)

Emacs Configurations

No response

Error callstack

No response

Anything else

No response