[X] You may also try reproduce the issue using clean environment and minimal configurations with
the command emacs -Q.
Bug description
After the commit 311a0c5, compiler says:
In end of data:
doom-modeline-segments.el:3130:27: Warning: the function ‘svg-image’ is not
known to be defined.
doom-modeline-segments.el:3106:6: Warning: the function ‘svg-line’ is not
known to be defined.
doom-modeline-segments.el:3102:6: Warning: the function ‘svg-circle’ is not
known to be defined.
doom-modeline-segments.el:3101:15: Warning: the function ‘svg-create’ is not
known to be defined.
Steps to reproduce
Start Emacs with -Q, byte-compile the files and check the *Compile-Log* buffer.
Expected behavior
No compiler warnings.
OS
MacOS
Emacs Version
30 (gccemacs)
Emacs Configurations
No response
Error callstack
N/A
Anything else
You can silence this by adding (which I haven't tested):
(eval-when-compile
(require 'svg))
at the beginning of doom-modeline-segments.el, or declare the functions. Which one is a matter of taste.
Thank you for the bug report
doom-modeline
related packages.emacs -Q
.Bug description
After the commit 311a0c5, compiler says:
Steps to reproduce
Start Emacs with
-Q
, byte-compile the files and check the*Compile-Log*
buffer.Expected behavior
No compiler warnings.
OS
MacOS
Emacs Version
30 (gccemacs)
Emacs Configurations
No response
Error callstack
Anything else
You can silence this by adding (which I haven't tested):
at the beginning of
doom-modeline-segments.el
, or declare the functions. Which one is a matter of taste.