[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58714: 29.0.50; cl-defun &key
From: |
Gerd Möllmann |
Subject: |
bug#58714: 29.0.50; cl-defun &key |
Date: |
Sun, 23 Oct 2022 10:20:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> In GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.6.0, NS
> appkit-2113.60 Version 12.6 (Build 21G115)) of 2022-10-20 built on
> Mini.fritz.box
> Repository revision: 6f3ade1c08c6cbf56c0dc0d12e9508c261eb42bf
> Repository branch: master
> Windowing system distributor 'Apple', version 10.3.2113
> System Description: macOS 12.6
>
> (cl-defun f (&key x) x)
>
> (f :x)
> nil
>
> The call to f should result in an error, like for functions defined with
> defun.
I have fixed this, and added a test in
c9625d96b4e61cda7b79b4c0b23d6982f5bc45ae on feature/pkg.
Please cherry-pick if this looks good.