unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41947: Pcase examples in the Elisp manual requires deprecated alias.
@ 2020-06-19  6:49 Takesi Ayanokoji
  2020-06-20  7:31 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Takesi Ayanokoji @ 2020-06-19  6:49 UTC (permalink / raw)
  To: 41947

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

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".

http://git.savannah.gnu.org/cgit/emacs.git/tree/doc/lispref/control.texi#n960

>>> 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,

[-- Attachment #2: Type: text/html, Size: 898 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#41947: Pcase examples in the Elisp manual requires deprecated alias.
  2020-06-19  6:49 bug#41947: Pcase examples in the Elisp manual requires deprecated alias Takesi Ayanokoji
@ 2020-06-20  7:31 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2020-06-20  7:31 UTC (permalink / raw)
  To: Takesi Ayanokoji; +Cc: 41947-done

> From: Takesi Ayanokoji <ayanokoji.takesi@gmail.com>
> 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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-20  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19  6:49 bug#41947: Pcase examples in the Elisp manual requires deprecated alias Takesi Ayanokoji
2020-06-20  7:31 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).