[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there symbol-plist functionality in Emacs Lisp?
From: |
Jean Louis |
Subject: |
Re: Is there symbol-plist functionality in Emacs Lisp? |
Date: |
Sat, 8 May 2021 18:32:54 +0300 |
User-agent: |
Mutt/2.0.6 (2021-03-06) |
* Stefan Monnier via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> [2021-05-08 17:01]:
> > While `symbol-plist' in Common Lisp returns the definition as below.
>
> Is that really true of Common Lisp, or just of some implementations?
> I can't seem to find that documented in the CLHS.
True, it works just in CLISP. Is there equivalent in Emacs that I can
get a function definition this way?
[1]> (defun myfn (a) a)
MYFN
[2]> (SYMBOL-PLIST (INTERN (STRING-upcase "myfn")))
(SYSTEM::DEFINITION
((DEFUN MYFN (A) A) .
#(NIL NIL NIL NIL
((DECLARATION OPTIMIZE DECLARATION DYNAMICALLY-MODIFIABLE
SYSTEM::IMPLEMENTATION-DEPENDENT)))))
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
https://rms-support-letter.github.io/