-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I'm looking for a binding which expands the current statement (a macro) and append the expansion to the current buffer. Do slime has something like this?
thnx. evrim.
Evrim ULU evrim@core.gen.tr writes:
I'm looking for a binding which expands the current statement (a macro) and append the expansion to the current buffer. Do slime has something like this?
[totatly untested]
(defun slime-macroexpand-in-place (&optional string) (interactive) (unless string (setf string (slime-sexp-at-point-or-error))) (lexical-let ((package (slime-current-package))) (insert (slime-eval `(swank:swank-macroexpand-1 ,string)))))
thnx. evrim.