(What's EMH?): Modify for SEMI 1.7.
[elisp/emh.git] / EMH-CFG
1 ;;; -*-Emacs-Lisp-*-
2 ;;;
3 ;; EMH-CFG: installation setting about EMH.
4
5 ;;; Code:
6
7 (defvar default-load-path load-path)
8
9 (add-to-list 'load-path
10              (expand-file-name "../../site-lisp/apel" data-directory))
11 (add-to-list 'load-path
12              (expand-file-name "." data-directory))
13
14 (when (boundp 'LISPDIR)
15   (add-to-list 'default-load-path LISPDIR)
16   (add-to-list 'load-path LISPDIR)
17   (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
18   )
19
20 (condition-case nil
21     (require 'install)
22   (error (error "Please install APEL 8.2 or later.")))
23
24 (add-path "flim")
25 (add-path "semi")
26
27 (add-to-list 'load-path (expand-file-name "."))
28
29
30 ;;; @ Please specify prefix of install directory.
31 ;;;
32
33 ;; Please specify install path prefix.
34 ;; If it is omitted, shared directory (maybe /usr/local is used).
35 (defvar PREFIX install-prefix)
36 ;;(setq PREFIX "~/")
37
38 ;; Please specify prefix for ``emh'' [optional]
39 (setq EMH_PREFIX "semi")
40
41 \f
42
43 ;;; @ optional settings
44 ;;;
45
46 ;; It is generated by automatically. Please set variable `PREFIX'.
47 ;; If you don't like default directory tree, please set it.
48 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
49 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
50
51 (setq EMH_DIR (expand-file-name EMH_PREFIX LISPDIR))
52
53 ;;; EMH-CFG ends here