Mercurial > hg > xemacs-beta
comparison lisp/ilisp/ilcompat.el @ 4:b82b59fe008d r19-15b3
Import from CVS: tag r19-15b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:46:56 +0200 |
parents | 376386a54a3c |
children |
comparison
equal
deleted
inserted
replaced
3:30df88044ec6 | 4:b82b59fe008d |
---|---|
1 ;;; -*- Mode: Emacs-Lisp -*- | 1 ;;; -*- Mode: Emacs-Lisp -*- |
2 | 2 |
3 ;;; ilcompat.el -- | 3 ;;; ilcompat.el -- |
4 | 4 |
5 ;;; This file is part of ILISP. | 5 ;;; This file is part of ILISP. |
6 ;;; Version: 5.7 | 6 ;;; Version: 5.8 |
7 ;;; | 7 ;;; |
8 ;;; Copyright (C) 1990, 1991, 1992, 1993 Chris McConnell | 8 ;;; Copyright (C) 1990, 1991, 1992, 1993 Chris McConnell |
9 ;;; 1993, 1994 Ivan Vasquez | 9 ;;; 1993, 1994 Ivan Vasquez |
10 ;;; 1994, 1995 Marco Antoniotti and Rick Busdiecker | 10 ;;; 1994, 1995, 1996 Marco Antoniotti and Rick Busdiecker |
11 ;;; 1996 Marco Antoniotti and Rick Campbell | |
11 ;;; | 12 ;;; |
12 ;;; Other authors' names for which this Copyright notice also holds | 13 ;;; Other authors' names for which this Copyright notice also holds |
13 ;;; may appear later in this file. | 14 ;;; may appear later in this file. |
14 ;;; | 15 ;;; |
15 ;;; Send mail to 'ilisp-request@lehman.com' to be included in the | 16 ;;; Send mail to 'ilisp-request@naggum.no' to be included in the |
16 ;;; ILISP mailing list. 'ilisp@lehman.com' is the general ILISP | 17 ;;; ILISP mailing list. 'ilisp@naggum.no' is the general ILISP |
17 ;;; mailing list were bugs and improvements are discussed. | 18 ;;; mailing list were bugs and improvements are discussed. |
18 ;;; | 19 ;;; |
19 ;;; ILISP is freely redistributable under the terms found in the file | 20 ;;; ILISP is freely redistributable under the terms found in the file |
20 ;;; COPYING. | 21 ;;; COPYING. |
21 | 22 |
22 | 23 |
23 ;;;============================================================================ | 24 ;;;============================================================================ |
24 ;;; Global definitions/declarations | 25 ;;; Global definitions/declarations |
25 | 26 |
26 (defconst +ilisp-emacs-version-id+ | 27 (defconst +ilisp-emacs-version-id+ |
27 (cond ((string-match "XEmacs" emacs-version) | 28 (cond ((string-match "XEmacs" emacs-version) |
28 'xemacs) | 29 'xemacs) |
29 ((string-match "Lucid" emacs-version) | 30 ((string-match "Lucid" emacs-version) |
30 (if (string-match "^19.[0-7][^0-9]" emacs-version) | 31 (if (string-match "^19.[0-7][^0-9]" emacs-version) |
31 'lucid-19 | 32 'lucid-19 |
32 'lucid-19-new)) | 33 'lucid-19-new)) |
33 ((string-match "^19" emacs-version) | 34 ((string-match "^19" emacs-version) |
34 'fsf-19) | 35 'fsf-19) |
35 (t 'fsf-18)) | 36 (t 'fsf-18)) |
36 "The version of Emacs ILISP is running in. | 37 "The version of Emacs ILISP is running in. |
37 Declared as '(member fsf-19 fsf-19 lucid-19 lucid-19-new xemacs. | 38 Declared as '(member fsf-19 fsf-19 lucid-19 lucid-19-new xemacs). |
38 Set in ilcompat.el.") | 39 Set in ilcompat.el.") |
40 | |
41 (defconst +ilisp-emacs-minor-version-number+ | |
42 (cond ((eq +ilisp-emacs-version-id+ 'fsf-18) 59) | |
43 ((or (eq +ilisp-emacs-version-id+ 'lucid-19) | |
44 (eq +ilisp-emacs-version-id+ 'lucid-19-new) | |
45 ) | |
46 12) ; Does emacs-minor-version work? | |
47 ((eq +ilisp-emacs-version-id+ 'xemacs) 14) | |
48 (t emacs-minor-version))) | |
39 | 49 |
40 | 50 |
41 ;;;============================================================================ | 51 ;;;============================================================================ |
42 ;;; Code | 52 ;;; Code |
43 | 53 |