Article View: gnu.emacs.help
Article #189115How can I find out if 'foo evals its arguments?
From: Lars Svensson
Date: Fri, 03 May 1991 15:44
Date: Fri, 03 May 1991 15:44
8 lines
955 bytes
955 bytes
Given an elisp symbol foo with a symbol-function defined in C. (That is, (symbol-function 'foo) prints #<subr foo>.) Is there any way to find out (from elisp, of course) if foo evaluates its arguments? (Compare with when the function is defined in elisp. Then, symbol-function returns a list, and if the car of the list is 'lambda, the arguments are evaluated. If it is 'macro, we cannot be sure. Right?) J
Technical Details
Message-ID:
<SVENSSON.91May3174412@imec.imec.be>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!ub4b!kulcs!kulesat!imec!svenssonShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,f48a9ed62576cd01,start X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-05-04 12:54:33 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!ub4b!kulcs!kulesat!imec!svensson From: svensson@imec.imec.be (Lars Svensson) Newsgroups: gnu.emacs.help Subject: How can I find out if 'foo evals its arguments? Message-ID: <SVENSSON.91May3174412@imec.imec.be> Date: 3 May 91 15:44:12 GMT Sender: news@imec.be Distribution: gnu Organization: IMEC vzw, Leuven, Belgium Lines: 8