|
From: | Emanuel Berg |
Subject: | Re: Does pcase need progn in if condition |
Date: | Fri, 21 May 2021 23:26:17 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
pietru wrote: > Does "pcase" need progn in an "if" condition > > (if condition > > (pcase n > > (0 (save-excursion (insert s))) > > ((or 1 2 3 4 5) > (delete-region (point) b) > (save-excursion (insert s))) > > (_ (delete-region (point) b))) )) > `if' should her better be `when'! How `pcase' behaves within a when tho? Maybe depends on things even INSIDE the when? -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |