[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lexical binding?
From: |
Stefan Monnier |
Subject: |
Re: lexical binding? |
Date: |
Mon, 25 Oct 2021 13:17:54 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jean-Christophe Helary [2021-10-25 23:46:04] wrote:
>> On Oct 24, 2021, at 22:32, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> Also, remember to byte-compile your code (and/or activate `flymake-mode`
>> when editing your Elisp code) and pay attention to the warnings you get
>> from it.
>
> flymake is really nice :-)
>
> But it says "fifth is not known to be defined" then suggest that I change to
> "cl-fifth" and then gives me the same warning.
>
> Is there something I need to know here ?
For your file to be sure that `cl-fifth` exists, it needs to have
(require 'cl-lib)
somewhere near the beginning.
Personally, I recommend (nth 4 <...>) instead ;-)
Stefan