3 ;; APEL-CFG: installation setting about APEL.
7 (defvar default-load-path load-path)
8 (setq load-path (cons (expand-file-name ".") load-path))
10 (require 'poe);; Pickup `eval-when-compile'.
15 ;;; @@ Please specify CUSTOM path.
18 (add-latest-path "custom")
21 ;;; @ Please specify prefix of install directory.
24 ;; Please specify install path prefix.
25 ;; If it is omitted, shared directory (maybe /usr/local is used).
26 (defvar PREFIX install-prefix)
29 ;; Please specify emu prefix [optional]
31 (if (or (featurep 'xemacs)
32 (and (fboundp 'set-buffer-multibyte)
33 (subrp (symbol-function 'set-buffer-multibyte))))
37 ;; Please specify prefix for ``apel'' [optional]
38 (setq APEL_PREFIX "apel")
42 ;;; @ optional settings
45 (defvar VERSION_SPECIFIC_LISPDIR
46 (install-detect-elisp-directory PREFIX nil 'version-specific))
48 (setq EMU_DIR (expand-file-name EMU_PREFIX VERSION_SPECIFIC_LISPDIR))
50 ;; It is generated by automatically. Please set variable `PREFIX'.
51 ;; If you don't like default directory tree, please set it.
52 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
53 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
55 (setq APEL_DIR (expand-file-name APEL_PREFIX LISPDIR))
56 ;; (setq APEL_DIR (expand-file-name APEL_PREFIX VERSION_SPECIFIC_LISPDIR))
59 (if (boundp 'early-packages)
60 (let ((dirs (append (if early-package-load-path
62 (if late-package-load-path
64 (if last-package-load-path
67 (while (not (file-exists-p
68 (setq dir (car dirs))))
69 (setq dirs (cdr dirs)))
72 ;;; APEL-CFG ends here