[slime-devel] Re: match-string-no-properties missing?
Alberto Riva
ariva at ufl.edu
Wed Dec 6 16:12:49 UTC 2006
Marco Baringer wrote:
> Alberto Riva <ariva at ufl.edu> writes:
>
>> Hi,
>>
>> I recently updated to the latest slime from CVS, and now every time I
>> do a M-. I get an emacs message that says "Symbol's function
>> definition is void: match-string-no-properties."
>>
>> My emacs is XEmacs 21.4 (patch 15) (x86_64-redhat-linux, Mule). All
>> help appreciated! Thanks,
>
> does this patch help?
I haven't tested it yet, but I assume it would because it's equivalent
to Nathan's suggestion, that works. Thanks!
Alberto
> ------------------------------------------------------------------------
>
> Index: slime.el
> ===================================================================
> RCS file: /project/slime/cvsroot/slime/slime.el,v
> retrieving revision 1.696
> diff -u -r1.696 slime.el
> --- slime.el 5 Dec 2006 14:36:04 -0000 1.696
> +++ slime.el 5 Dec 2006 21:37:26 -0000
> @@ -2514,7 +2514,11 @@
> (save-excursion
> (when (or (re-search-backward regexp nil t)
> (re-search-forward regexp nil t))
> - (let ((string (match-string-no-properties 2)))
> + (let ((string (if (featurep 'xemacs)
> + (buffer-substring-no-properties
> + (match-beginning 2)
> + (match-end 2))
> + (match-string-no-properties 2))))
> (cond ((string-match "^\"" string) (ignore-errors (read string)))
> ((string-match "^#?:" string) (substring string (match-end 0)))
> (t string)))))))
>
>
> ------------------------------------------------------------------------
>
>
>
More information about the slime-devel
mailing list