emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: EIEIO and CL


From: S+*n_Pe*rm*n
Subject: RE: EIEIO and CL
Date: Fri, 9 Oct 2009 18:29:27 -0400

Doesn't this little bit at the top of cl-macs get you most of the way?

,---- :FILE "/emacs/lisp/emacs-lisp/cl-macs.el"
| ;; This kludge allows macros which use cl-transform-function-property
| ;; to be called at compile-time.
|
| (require
|  (progn
|    (or (fboundp 'cl-transform-function-property)
|        (defalias 'cl-transform-function-property
|        (function (lambda (n p f)
|                    (list 'put (list 'quote n) (list 'quote p)
|                          (list 'function (cons 'lambda f)))))))
|    (car (or features (setq features (list 'cl-kludge))))))
`----

s_P




reply via email to

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