doomemacs / doomemacs/core

dragndrop.el - Lexical argument shadows the dynamic variable %

Open
#8,893 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### Describe your issue

I recently updated Doom and when starting up/reloading my config, I get this error

```
.config/emacs/sources/doom+/modules/lang/org/contrib/dragndrop.el: Warning:
Lexical argument shadows the dynamic variable %
.config/emacs/sources/doom+/modules/lang/org/contrib/dragndrop.el: Warning:
Lexical argument shadows the dynamic variable %
```

Each time I reload, I get this message twice. No trace or line. I didn't write anything with AI, nor do I use AI. I have a pretty basic config I'll leave here too.

https://github.com/tokisuno/dotfiles/tree/main/.config/doom

### Steps to reproduce

1. Open emacs
2. See error
3. Profit.

### System information

[output.txt](https://github.com/user-attachments/files/32018276/output.txt)

### Disclosures

- [ ] This issue was written with/by AI.

Contributor guide

Open the contributing guide

Research direction

Start by opening .config/emacs/sources/doom+/modules/lang/org/contrib/dragndrop.el and reviewing the lexical argument warnings reported during Emacs startup or config reload. Use the linked output.txt and the provided reproduction steps to identify the affected declarations. Done means reloading the configuration no longer emits the two warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs-lisp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.