[slime-devel] Re: M-p/M-n doesn't move to the note in cvs slime and xemacs
Raymond Toy
raymond.toy at ericsson.com
Wed Jun 22 16:55:23 UTC 2005
Raymond Toy wrote:
> Oops. I just noticed that xemacs 21.5.20 has it's own
> next-single-char-property-change. And this one actually works, when I
> remove the definitions for them in slime.el.
>
FWIW, here's what I did. Patch available, but it will almost surely
break on other versions of xemacs/emacs.
I renamed next-single-char-property-change to be
slime-next-single-char-property-change. Then I used the following
definitions for xemacs. (Could conditionalize this to use these if it's
xemacs and next-single-char-property-change is already defined.
Otherwise, use the old definitions.)
(defun slime-next-single-char-property-change (&rest args)
(or (apply 'next-single-char-property-change args)
(point-max)))
(defun slime-previous-single-char-property-change (&rest args)
(or (apply 'previous-single-char-property-change args)
(point-min)))
Ray
More information about the slime-devel
mailing list