[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setq-local: Wrong number of arguments
From: |
Joost Kremers |
Subject: |
Re: setq-local: Wrong number of arguments |
Date: |
Tue, 04 May 2021 08:47:52 +0200 |
User-agent: |
mu4e 1.5.12; emacs 27.2 |
On Mon, May 03 2021, Christopher Dimech wrote:
> I am gutting an error saying
>
> setq-local: Wrong number of arguments: (2 . 2), 4
>
> Have no idea what it means.
The message means that you're calling a function that takes between two and two
arguments but you're passing it four. Whether this function is indeed
`setq-local` is doubtful, because `setq-local` can take more than two arguments,
as long as it has an ever number of arguments and each odd argument is a symbol.
I can't see anything obviously wrong with the code you posted (though I may well
be overlooking something...) If it were me, this would probably be the point
where I start edebug...
--
Joost Kremers
Life has its moments
- setq-local: Wrong number of arguments, Christopher Dimech, 2021/05/03
- Re: setq-local: Wrong number of arguments,
Joost Kremers <=
- Re: setq-local: Wrong number of arguments, Emanuel Berg, 2021/05/04
- Re: setq-local: Wrong number of arguments, Christopher Dimech, 2021/05/04
- Re: setq-local: Wrong number of arguments, Emanuel Berg, 2021/05/04
- Emacs is stable software, Jean Louis, 2021/05/04
- Re: Emacs is stable software, Emanuel Berg, 2021/05/04
- Re: Emacs is stable software, tomas, 2021/05/04
- Re: Emacs is stable software, Emanuel Berg, 2021/05/04
- Re: setq-local: Wrong number of arguments, Christopher Dimech, 2021/05/05
- Re: setq-local: Wrong number of arguments, Emanuel Berg, 2021/05/05
- Re: setq-local: Wrong number of arguments, Christopher Dimech, 2021/05/05