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