From: Juanma Barranquero <lekktu@gmail.com>
To: Tassilo Horn <tsdh@gnu.org>
Cc: Emacs Help List <help-gnu-emacs@gnu.org>,
Thorsten Jolitz <tjolitz@gmail.com>
Subject: Re: How to avoid y-or-n-p in a program?
Date: Wed, 12 Mar 2014 17:50:12 +0100 [thread overview]
Message-ID: <CAAeL0SQbsajdjGOB7ooadRX=DTjBmrO+V1BffDh=S0U1dMsG4w@mail.gmail.com> (raw)
In-Reply-To: <87zjkvz95n.fsf@gnu.org>
On Wed, Mar 12, 2014 at 5:14 PM, Tassilo Horn <tsdh@gnu.org> wrote:
> In very recent emacs versions, you can use `cl-letf' for that purpose:
In both new and old versions, you can use `left', from the cl package
(though if your code is for 24.3+ is better to use cl-letf from
cl-lib, yeah).
J
next prev parent reply other threads:[~2014-03-12 16:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-12 15:37 How to avoid y-or-n-p in a program? Thorsten Jolitz
2014-03-12 16:14 ` Tassilo Horn
2014-03-12 16:50 ` Juanma Barranquero [this message]
2014-03-12 18:14 ` Stefan Monnier
2014-03-12 22:31 ` Thorsten Jolitz
2014-03-14 14:26 ` Thorsten Jolitz
2014-03-14 14:35 ` Stefan
2014-03-14 14:48 ` Thorsten Jolitz
2014-03-14 16:09 ` Stefan
2014-03-14 17:21 ` Thorsten Jolitz
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='CAAeL0SQbsajdjGOB7ooadRX=DTjBmrO+V1BffDh=S0U1dMsG4w@mail.gmail.com' \
--to=lekktu@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=tjolitz@gmail.com \
--cc=tsdh@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).