Dear Slimers,
the following patch prevents Slime from loading Mule-UCS in a recent XEmacs which doesn't need it.
ChangeLog addition:
2011-12-05 Didier Verna didier@xemacs.org
* slime.el (featurep): Don't require 'un-define in XEmacs 21.5 and later. Mule-UCS is not needed anymore because of internal Unicode support (and conflicts with it).
slime source patch: Diff command: cvs -q diff -u Files affected: slime.el
Index: slime.el =================================================================== RCS file: /project/slime/cvsroot/slime/slime.el,v retrieving revision 1.1383 diff -u -u -r1.1383 slime.el --- slime.el 5 Dec 2011 11:29:00 -0000 1.1383 +++ slime.el 5 Dec 2011 14:02:06 -0000 @@ -68,7 +68,10 @@ (require 'font-lock) (when (featurep 'xemacs) (require 'overlay) - (require 'un-define)) + (when (or (< emacs-major-version 21) + (and (= emacs-major-version 21) + (< emacs-minor-version 5))) + (require 'un-define))) (require 'easymenu) (eval-when (compile) (require 'arc-mode)
* Didier Verna [2011-12-05 14:09] writes:
Dear Slimers,
the following patch prevents Slime from loading Mule-UCS in a recent XEmacs which doesn't need it.
Committed.
Can we use (find-coding-system 'utf-8-unix) instead of checking the version? That would be a bit more self-descriptive.
Helmut
Helmut Eller heller@common-lisp.net wrote:
Can we use (find-coding-system 'utf-8-unix) instead of checking the version? That would be a bit more self-descriptive.
I think so, yes.