[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40596: 28.0.50; Function with more than one key gives "wrong number
From: |
Eli Zaretskii |
Subject: |
bug#40596: 28.0.50; Function with more than one key gives "wrong number of arguments" error |
Date: |
Mon, 13 Apr 2020 16:37:51 +0300 |
> Date: Mon, 13 Apr 2020 16:02:30 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: 40596@debbugs.gnu.org
>
> I understand and not that I need it. Then if the Emacs Lisp `defun'
> does not support &key, why is then this below working?
>
> (defun tmp-function-1 (text html &key one)
> "This one works fine"
> (message one))
>
> (tmp-function-1 "text" "<html>" :one "Hello")
I think it interprets &key as a name of a simple argument.