
30 Jul
2004
30 Jul
'04
9:09 p.m.
I tested this with SBCL briefly, and it seems to work (can remove methods I defined on print-object). I had to fix the paren balance on that defun, though: Today, Thomas Schilling <tjs_ng@yahoo.de> wrote:
+(defun slime-xref-remove-method () + "Remove the selected method (if possible)." + (interactive) + (let ((mdef (slime-xref-method-definition-at-point))) + (slime-remove-method mdef)) + (let ((inhibit-read-only t) + (col (current-column))) + (kill-entire-line) + (move-to-column col)) ^ )
Thanks! This is really neat. -- Andreas Fuchs, <asf@boinkor.net>, asf@jabber.at, antifuchs