3 ;; APEL-CFG: installation setting about APEL.
7 (defvar default-load-path load-path)
8 (setq load-path (cons (expand-file-name ".") load-path))
13 ;;; @@ Please specify CUSTOM path.
16 (add-latest-path "custom")
19 ;;; @ Please specify prefix of install directory.
22 ;; Please specify install path prefix.
23 ;; If it is omitted, shared directory (maybe /usr/local is used).
24 (defvar PREFIX install-prefix)
27 ;; Please specify emu prefix [optional]
29 (if (or (featurep 'xemacs)
30 (and (fboundp 'set-buffer-multibyte)
31 (subrp (symbol-function 'set-buffer-multibyte))))
35 ;; Please specify prefix for ``apel'' [optional]
36 (setq APEL_PREFIX "apel")
40 ;;; @ optional settings
43 (defvar VERSION_SPECIFIC_LISPDIR
44 (install-detect-elisp-directory PREFIX nil 'version-specific))
46 (setq EMU_DIR (expand-file-name EMU_PREFIX VERSION_SPECIFIC_LISPDIR))
48 ;; It is generated by automatically. Please set variable `PREFIX'.
49 ;; If you don't like default directory tree, please set it.
50 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
51 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
53 (setq APEL_DIR (expand-file-name APEL_PREFIX LISPDIR))
54 ;; (setq APEL_DIR (expand-file-name APEL_PREFIX VERSION_SPECIFIC_LISPDIR))
57 (if (boundp 'early-packages)
58 (let ((dirs (append (if early-package-load-path
60 (if late-package-load-path
62 (if last-package-load-path
65 (while (not (file-exists-p
66 (setq dir (car dirs))))
67 (setq dirs (cdr dirs)))
70 ;;; APEL-CFG ends here