[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#323540: ilisp: fail to install with emacs-snapshot

Package: ilisp
Version: 5.12.0+cvs.2004.12.24
Tags: patch

Since emacs-snapshot enters Debian sid, I decided to try it and found it 
failed to configure, though emacs-snapshot runs well. 

I dig the problem a bit and come to the conclusion that the problem is with 
ilisp, not emacs-snapshot. The real reason is that there is emacs-snapshot 
has emacs-version 22, which ilcompat.el will fall back to 'fsf-18.

The following minimal patch reuses ilfsf21.el for emacs 22. Maybe it's more in 
line with ilisp's way to provide ilfsf22.el, which is almost identical to 
ilfsf21.el, but the simplest is the best.

--- ilisp-5.12.0+cvs.2004.12.24.orig/ilcompat.el
+++ ilisp-5.12.0+cvs.2004.12.24/ilcompat.el
@@ -27,6 +27,8 @@
 	((string-match "^21" emacs-version)
+	((string-match "^22" emacs-version)
+	 'fsf-21)
 	(t 'fsf-18))
   "The major version of (X)Emacs ILISP is running in.
 Declared as '(member fsf-19 fsf-19 fsf-20 fsf-21 lucid-19 lucid-19-new 

Reply to: