From: Oleksandr Gavenko <gavenkoa@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: An elisp question
Date: Wed, 17 Sep 2008 21:29:38 +0300 [thread overview]
Message-ID: <gariag$qof$1@aioe.org> (raw)
In-Reply-To: mailman.19377.1221598264.18990.help-gnu-emacs@gnu.org
Drew Adams пишет:
>>> (defun my-test ()
>>> (interactive)
>>> (if (equal (y-or-n-p "Yes or no? ") t)
>> (if (y-or-n-p "Yes or no? ")
>>
>> will do just fine.
>>
>>> (foo)
>>> (message "hallo")))
>
> Duh. (I didn't try to do more than answer his question.)
>
> Really, the right answer to the OP is to take a look at the manual "Emacs Lisp
> Introduction" (aka "An Introduction to Programming in Emacs Lisp") in Info (`C-h
> i').
>
Comment please!
In elisp intro (Created on March, 10 2004 by texi2html 1.64)
I not find match of "yes-or-no-p" func and so special example for you say.
In elisp.html (edition 2.8) on "20.6 Yes-or-No Queries" also there no
special warning about use of "Yes-or-No".
next prev parent reply other threads:[~2008-09-17 18:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-16 20:17 An elisp question Rodolfo Medina
2008-09-16 20:09 ` Drew Adams
[not found] ` <mailman.19376.1221595777.18990.help-gnu-emacs@gnu.org>
2008-09-16 20:20 ` Joost Kremers
2008-09-16 20:51 ` Drew Adams
[not found] ` <mailman.19377.1221598264.18990.help-gnu-emacs@gnu.org>
2008-09-17 18:29 ` Oleksandr Gavenko [this message]
2008-09-17 21:05 ` Joost Kremers
2008-09-18 8:06 ` Bastien
2008-09-19 16:13 ` Nikolaj Schumacher
[not found] ` <mailman.19562.1221840826.18990.help-gnu-emacs@gnu.org>
2008-09-19 18:17 ` Oleksandr Gavenko
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='gariag$qof$1@aioe.org' \
--to=gavenkoa@gmail.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).