emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [nongnu] elpa/clojure-mode f8989ab615: Let the byte-compiler know ab


From: Bozhidar Batsov
Subject: Re: [nongnu] elpa/clojure-mode f8989ab615: Let the byte-compiler know about dynamic var
Date: Wed, 02 Feb 2022 15:40:03 +0200
User-agent: Cyrus-JMAP/3.5.0-alpha0-4585-ga9d9773056-fm-20220113.001-ga9d97730

Thanks for the feedback. I'll change this right away. 

On Wed, Feb 2, 2022, at 3:23 PM, Stefan Monnier wrote:
>  (eval-when-compile
>    (defvar calculate-lisp-indent-last-sexp)
> +  (defvar delete-pair-blink-delay)
>    (defvar font-lock-beg)
>    (defvar font-lock-end)
>    (defvar paredit-space-for-delimiter-predicates)

`defvar` (when given a single argument) is a compiler directive whose
execution has no effect.

The fact that it also works when placed inside `eval-when-compile` is an
accident (and a bug: it should only affect the rest of the code within
the `eval-when-compile`).

Please move those out of `eval-when-compile`.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]