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] Reference to free variable `keel-menu-map' after 1d0942d #716

Closed dr-scsi closed 5 months ago

dr-scsi commented 5 months ago

Thank you for the bug report

Bug description

The commit 1d0942d now produces:

In doom-modeline-segment--k8s:
doom-modeline-segments.el:3191:73: Warning: reference to free variable ‘kele-menu-map’

Steps to reproduce

(byte|native)-compile the file doom-modeline-segments.el.

Expected behavior

No compiler warnings by defvar'ing the variable.

OS

MacOS

Emacs Version

30 (gccemacs)

Emacs Configurations

No response

Error callstack

N/A

Anything else

N/A

seagle0128 commented 5 months ago

cc @jinnovation

jinnovation commented 5 months ago

Oops, thank you @seagle0128