[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to add button to emacs that play a elisp code
From: |
Emanuel Berg |
Subject: |
Re: how to add button to emacs that play a elisp code |
Date: |
Fri, 12 Sep 2014 02:05:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
"Pascal J. Bourguignon" <pjb@informatimago.com> writes:
> list always return a new list or nil. quote always
> return the very same object it has in argument.
>
> It's not the same at all!
Of course list is not the same as quote in general.
But those examples are the same in the sense that when
I evaluate them I get the same result. You can try that
yourself, here:
'(1 2 3) ; (1 2 3)
(quote (1 2 3)) ; same
(list 1 2 3) ; same
>> By the way, I thought I would make it even more
>> pedagogical with `functionp' and `listp', but:
>> (functionp '(lambda () (interactive) 1)) ; t (listp
>> (lambda () (interactive) 1)) ; t
>
> This is wrong also.
"Wrong"? Those are the results I get. Here:
(functionp '(lambda () (interactive) 1)) ; t
(listp (lambda () (interactive) 1)) ; t
--
underground experts united
- how to add button to emacs that play a elisp code, Renato Pontefice, 2014/09/11
- Re: how to add button to emacs that play a elisp code, Gian Uberto Lauri, 2014/09/11
- Re: how to add button to emacs that play a elisp code, Gian Uberto Lauri, 2014/09/11
- Message not available
- Re: how to add button to emacs that play a elisp code, Emanuel Berg, 2014/09/11
- Re: how to add button to emacs that play a elisp code, Pascal J. Bourguignon, 2014/09/11
- Re: how to add button to emacs that play a elisp code,
Emanuel Berg <=
- Re: how to add button to emacs that play a elisp code, Michael Heerdegen, 2014/09/11
- Message not available
- Re: how to add button to emacs that play a elisp code, Emanuel Berg, 2014/09/11
- Re: how to add button to emacs that play a elisp code, Michael Heerdegen, 2014/09/11
- Re: how to add button to emacs that play a elisp code, Drew Adams, 2014/09/12
- Message not available
- Re: how to add button to emacs that play a elisp code, Emanuel Berg, 2014/09/11
- Re: how to add button to emacs that play a elisp code, Renato Pontefice, 2014/09/12
- Re: how to add button to emacs that play a elisp code, Renato Pontefice, 2014/09/12
- Re: how to add button to emacs that play a elisp code, Emanuel Berg, 2014/09/12
- Re: how to add button to emacs that play a elisp code, Pascal J. Bourguignon, 2014/09/13
- Re: how to add button to emacs that play a elisp code, Rusi, 2014/09/13