3 ;; EMH-CFG: installation setting about EMH.
7 (defvar default-load-path load-path)
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))
16 (add-to-list 'default-load-path LISPDIR)
17 (add-to-list 'load-path LISPDIR)
18 (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
21 (defvar VERSION_SPECIFIC_LISPDIR nil)
23 (if VERSION_SPECIFIC_LISPDIR
24 (add-to-list 'load-path VERSION_SPECIFIC_LISPDIR))
28 (error (error "Please install APEL 8.2 or later.")))
30 (add-latest-path "custom")
34 (add-to-list 'load-path (expand-file-name "."))
37 ;;; @ Please specify prefix of install directory.
40 ;; Please specify install path prefix.
41 ;; If it is omitted, shared directory (maybe /usr/local is used).
42 (defvar PREFIX install-prefix)
46 (if (boundp 'early-packages)
47 (let ((dirs (append (if early-package-load-path
49 (if late-package-load-path
51 (if last-package-load-path
54 (while (not (file-exists-p
55 (setq dir (car dirs))))
56 (setq dirs (cdr dirs)))
59 ;; Please specify prefix for ``emh'' [optional]
67 ;;; @ optional settings
70 ;; It is generated by automatically. Please set variable `PREFIX'.
71 ;; If you don't like default directory tree, please set it.
72 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
73 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
75 (setq EMH_DIR (expand-file-name EMH_PREFIX LISPDIR))