[slime-devel] [PATCH] Don't require un-define in XEmacs >= 21.5

Didier Verna didier at lrde.epita.fr
Mon Dec 5 14:09:57 UTC 2011


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 at 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)

-- 
Resistance is futile. You will be jazzimilated.

Scientific site:   http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com




More information about the slime-devel mailing list