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       (cons
9        'emu
10        (if (or running-emacs-19_29-or-later
11                running-xemacs-19_14-or-later)
12            '(richtext)
13          '(tinyrich)
14          )))
15
16 (setq emu-modules
17       (nconc
18        (cond (running-xemacs
19               ;; for XEmacs
20               (cons 'emu-xemacs
21                     (if (featurep 'mule)
22                         '(emu-20 emu-x20) ; for XEmacs with MULE
23                       '(emu-latin1) ; for XEmacs without MULE
24                       ))
25               )
26              (running-mule-merged-emacs
27               ;; for Emacs 20.1 or later
28               (cons (if (and (fboundp 'set-buffer-multibyte)
29                              (subrp (symbol-function 'set-buffer-multibyte)))
30                         'emu-e20_3 ; for Emacs 20.3
31                       'emu-e20_2 ; for Emacs 20.1 and 20.2
32                       )
33                     '(emu-20 emu-e19 emu-e20))
34               )
35              ((boundp 'MULE)
36               ;; for MULE 1.* and MULE 2.*
37               (cons 'emu-mule
38                     (if running-emacs-18
39                         '(emu-18 env)
40                       '(emu-e19)))
41               )
42              ((boundp 'NEMACS)
43               ;; for NEmacs
44               '(emu-18 emu-nemacs)
45               )
46              (t
47               ;; for Emacs 19.34
48               '(emu-e19 emu-latin1)
49               ))
50        emu-modules))
51
52 ;;; EMU-ELS ends here