Re: An elisp question
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: An elisp question         

Group: gnu.emacs.help · Group Profile
Author: Joost Kremers
Date: Sep 16, 2008 13:20

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)
2 Comments
diggit! del.icio.us! reddit!