[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: An elisp question
From: |
Drew Adams |
Subject: |
RE: An elisp question |
Date: |
Tue, 16 Sep 2008 13:51:24 -0700 |
> > (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').
- An elisp question, Rodolfo Medina, 2008/09/16
- RE: An elisp question, Drew Adams, 2008/09/16
- Message not available
- Re: An elisp question, Joost Kremers, 2008/09/16
- RE: An elisp question,
Drew Adams <=
- Message not available
- Re: An elisp question, Oleksandr Gavenko, 2008/09/17
- Re: An elisp question, Joost Kremers, 2008/09/17
- Re: An elisp question, Bastien, 2008/09/18
- Re: An elisp question, Nikolaj Schumacher, 2008/09/19
- Message not available
- Re: An elisp question, Oleksandr Gavenko, 2008/09/19