help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [External] : Re: new `pcase-let' syntax


From: Drew Adams
Subject: RE: [External] : Re: new `pcase-let' syntax
Date: Thu, 24 Nov 2022 20:28:22 +0000

> > (pcase-let ((`(,up ,down)
> >             (if button
> >                 `(,#'backward-button ,#'forward-button)
> >               `(,#'previous-line ,#'forward-line)))) ...)
> 
> In what sense is this new?
> I also get the feeling this is a hack for the sake of a hack.  Is it
> really that much better than the "classical"
> 
> (let ((up #'previous-line) (down #'forward-line))
>   (when button (setq up #'backward-button down #'forward-button))...)

It gives you more opportunities to
use your `,', ``', and `)' keys?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]