Matthias Koeppe mkoeppe+slime@mail.math.uni-magdeburg.de writes:
Using this (note: one space fewer):
(defun<C-c C-s>
(defun foo ()
I get the error that I mentioned:
Debugger entered--Lisp error: (wrong-type-argument stringp nil) substring-no-properties(nil) (let* ((deleted-region ...) (deleted-text ...) (prior-parens-count ...)) (when slime-close-parens-limit (let ... ...))) ...
(This one is on a strange old unreleased version of Emacs, though, 21.3.50)
What does (delete-and-extract-region (point) (point)) return on that Emacs?
-T
PS: I've committed a better fix which I hope fixes the other error you posted.