bug#41947: Pcase examples in the Elisp manual requires deprecated alias.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#41947: Pcase examples in the Elisp manual requires deprecated alias.

Takesi Ayanokoji
Hi,

In pcase macro examples in the Elisp manual, the examples use 'evenp' function as pred, but 'evenp' requires alias defined in deprecated "cl.el".


>>> log
$ emacs -Q --batch --eval '(evenp 42)'                     Symbol’s function definition is void: evenp
$ emacs -Q --batch --eval "(and (require 'cl) (evenp 42))" Package cl is deprecated

Thanks,

Reply | Threaded
Open this post in threaded view
|

bug#41947: Pcase examples in the Elisp manual requires deprecated alias.

Eli Zaretskii
> From: Takesi Ayanokoji <[hidden email]>
> Date: Fri, 19 Jun 2020 15:49:37 +0900
>
> In pcase macro examples in the Elisp manual, the examples use 'evenp' function as pred, but 'evenp'
> requires alias defined in deprecated "cl.el".
>
> http://git.savannah.gnu.org/cgit/emacs.git/tree/doc/lispref/control.texi#n960

Thanks, fixed on the emacs-27 branch.