Fork me on GitHub
#cider
<
2022-02-02
>
magnars08:02:36

I just broke the clojure-emacs/clojure-mode build. The compiler complains about "Unused lexical variable delete-pair-blink-delay'". However, delete-pair-blink-delay` is a special variable (having been defined with defcustom), and is not subject to lexical binding. It is supposed to be used in the way I'm using it (shadowing the value with a let-binding). Any ideas on a fix?

vemv09:02:40

nope 😑

😢 1
dakra10:02:20

delete-pair-blink-delay was only added in Emacs version 28.1 according to the :version tag. So you probably need a defvar first for compatibility?

👍 1
magnars10:02:42

That would also explain why this change was suddenly needed. Thanks!

magnars10:02:31

That did indeed do the trick. Thanks, @UFAP0C8KU ❤️

👍 1