update.
[elisp/apel.git] / EMU-ELS
1 ;;; -*-Emacs-Lisp-*-
2
3 ;; EMU-ELS: list of EMU modules to install
4
5 ;;; Code:
6
7 (setq emu-modules
8       (append '(poe emu)
9               (if (or running-emacs-19_29-or-later
10                       running-xemacs-19_14-or-later)
11                   '(richtext)
12                 '(tinyrich)
13                 )))
14
15 (setq emu-modules
16       (nconc
17        (cond (running-xemacs
18               ;; for XEmacs
19               (cons 'poe-xemacs
20                     (if (featurep 'mule)
21                         '(emu-20 emu-x20) ; for XEmacs with MULE
22                       '(emu-latin1) ; for XEmacs without MULE
23                       ))
24               )
25              (running-mule-merged-emacs
26               ;; for Emacs 20.1 or later
27               (cons (if (and (fboundp 'set-buffer-multibyte)
28                              (subrp (symbol-function 'set-buffer-multibyte)))
29                         'emu-e20_3 ; for Emacs 20.3
30                       'emu-e20_2 ; for Emacs 20.1 and 20.2
31                       )
32                     '(emu-20 poe-19 emu-e20))
33               )
34              ((boundp 'MULE)
35               ;; for MULE 1.* and MULE 2.*
36               (cons 'emu-mule
37                     (if running-emacs-18
38                         '(poe-18 env)
39                       '(poe-19)))
40               )
41              ((boundp 'NEMACS)
42               ;; for NEmacs
43               '(poe-18 emu-nemacs)
44               )
45              (t
46               ;; for Emacs 19.34
47               '(poe-19 emu-latin1)
48               ))
49        emu-modules))
50
51 ;;; EMU-ELS ends here