[Bug] Compiler warning about unknown function doom-modeline-focus-change
bug
### Thank you for the bug report
- [x] I am using the latest version of `doom-modeline` related packages.
- [x] I checked [FAQ](https://github.com/seagle0128/doom-modeline#faq).
- [x] You may also try reproduce the issue using clean environment and minimal configurations with
the command `emacs -Q`.
### Bug description
When installing and compiling the latest version from MELPA (doom-modeline-20260120.1724), the compiler says:
```
In end of data:
doom-modeline.el:294:58: Warning: the function ‘doom-modeline-focus-change’ is not known to be
```
It seems there is a remainder in `doom-modeline.el` after removing the function in `55719da`.
```
$ git grep doom-modeline-focus-change
doom-modeline.el: (remove-function after-focus-change-function #'doom-modeline-focus-change)
```
### Steps to reproduce
Byte-compile `doom-modeline.el`.
### Expected behavior
No compiler warning.
### OS
MacOS
### Emacs Version
31
### Emacs Configurations
_No response_
### Error callstack
```emacs-lisp
```
### Anything else
_No response_
关闭于 2026-01-22 0 条评论