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))
23 (error (error "Please install APEL 8.2 or later.")))
29 (add-to-list 'load-path (expand-file-name "."))
32 ;;; @ Please specify prefix of install directory.
35 ;; Please specify install path prefix.
36 ;; If it is omitted, shared directory (maybe /usr/local is used).
37 (defvar PREFIX install-prefix)
41 (if (boundp 'early-packages)
42 (let ((dirs (append (if early-package-load-path
44 (if late-package-load-path
46 (if last-package-load-path
49 (while (not (file-exists-p
50 (setq dir (car dirs))))
51 (setq dirs (cdr dirs)))
54 ;; Please specify prefix for ``emh'' [optional]
62 ;;; @ optional settings
65 ;; It is generated by automatically. Please set variable `PREFIX'.
66 ;; If you don't like default directory tree, please set it.
67 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
68 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
70 (setq EMH_DIR (expand-file-name EMH_PREFIX LISPDIR))