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

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

Re: An elisp question


From: Joost Kremers
Subject: Re: An elisp question
Date: 16 Sep 2008 20:20:00 GMT
User-agent: slrn/0.9.8.1 (Linux)

Drew Adams wrote:
> (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")))


-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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