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

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

Re: `y-or-n-p' function definition


From: Nikolaj Schumacher
Subject: Re: `y-or-n-p' function definition
Date: Mon, 08 Sep 2008 12:14:16 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin)

Rodolfo Medina <address@hidden> wrote:

> Thanks, the `y-or-n-p' function is perfect for what I was looking for.  But
> now I wish to have something like `y-or-n-p' that asks me if I want right or
> left ps footer, like this:
>
>  Right or left? (r/l)

Try `read-char'.

>  If I could access the `y-or-n-p' defun, then I could try to adapt it to an
> `r-or-l-p' version, but can't find it anywhere.

As `describe-function' will tell you, that function is in the C
sources.  So you won't be able to adapt it for lisp code.



regards,
Nikolaj Schumacher




reply via email to

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