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))
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))
22 (error (error "Please install APEL 8.2 or later.")))
27 (add-to-list 'load-path (expand-file-name "."))
30 ;;; @ Please specify prefix of install directory.
33 ;; Please specify install path prefix.
34 ;; If it is omitted, shared directory (maybe /usr/local is used).
35 (defvar PREFIX install-prefix)
39 (if (boundp 'early-packages)
40 (let ((dirs (append (if early-package-load-path
42 (if late-package-load-path
44 (if last-package-load-path
47 (while (not (file-exists-p
48 (setq dir (car dirs))))
49 (setq dirs (cdr dirs)))
52 ;; Please specify prefix for ``emh'' [optional]
60 ;;; @ optional settings
63 ;; It is generated by automatically. Please set variable `PREFIX'.
64 ;; If you don't like default directory tree, please set it.
65 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
66 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
68 (setq EMH_DIR (expand-file-name EMH_PREFIX LISPDIR))