(What's tm?): Don't use section number.
[elisp/tm.git] / TM-ELS
1 ;;; -*-Emacs-Lisp-*-
2
3 ;; TM-ELS: list of tm modules to install
4
5 ;;; Code:
6
7 (setq tm-modules-to-compile
8       '(signature
9         tm-def
10         tm-parse tm-view tm-text tm-play tm-partial
11         tm-latex tm-html tm-tar tm-file
12         tm-edit
13         tm-setup))
14
15 (setq tm-modules-not-to-compile '(sc-setup))
16
17 (mapcar (function
18          (lambda (cell)
19            (let ((c-module (car cell))
20                  (i-modules (cdr cell))
21                  )
22              (if (module-installed-p c-module)
23                  (setq tm-modules-to-compile
24                        (nconc tm-modules-to-compile i-modules))
25                (setq tm-modules-not-to-compile
26                      (nconc tm-modules-not-to-compile i-modules))
27                )
28              )))
29         '((ange-ftp     tm-ftp)
30           (mailcrypt    tm-pgp tm-edit-mc)
31           (bbdb         tm-bbdb)
32           ))
33
34 (if (and (file-exists-p "tm-evs.el")
35          (or (boundp 'MULE)
36              (boundp 'NEMACS))
37          )
38     (setq tm-modules-to-compile (nconc tm-modules-to-compile '(tm-evs)))
39   )
40
41 (if (or (string-match "XEmacs" emacs-version)
42         (featurep 'mule))
43     (setq tm-modules-to-compile (nconc tm-modules-to-compile '(tm-image)))
44   )
45
46 (setq tm-modules (append tm-modules-to-compile
47                          tm-modules-not-to-compile))
48
49 ;;; TM-ELS ends here