From: pietru@caramail.com
To: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Does pcase need progn in if condition
Date: Fri, 21 May 2021 11:25:50 +0200 [thread overview]
Message-ID: <trinity-f3f2f159-5e0a-478b-985d-d513f13deb78-1621589150568@3c-app-mailcom-bs04> (raw)
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))) ))
next reply other threads:[~2021-05-21 9:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-21 9:25 pietru [this message]
2021-05-21 17:09 ` Does pcase need progn in if condition Christopher Dimech
2021-05-22 4:39 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 9:09 ` Jean Louis
2021-05-22 9:32 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 11:08 ` Jean Louis
2021-05-22 11:37 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-21 21:26 ` Emanuel Berg via Users list for the GNU Emacs text editor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=trinity-f3f2f159-5e0a-478b-985d-d513f13deb78-1621589150568@3c-app-mailcom-bs04 \
--to=pietru@caramail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).