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

[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" <address@hidden> 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


reply via email to

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