3 ;; APEL-CFG: installation setting about APEL.
7 (defvar default-load-path load-path)
8 (setq load-path (cons (expand-file-name ".") load-path))
12 ;;; @ Please specify prefix of install directory.
15 ;; Please specify install path prefix.
16 ;; If it is omitted, shared directory (maybe /usr/local is used).
17 (defvar PREFIX install-prefix)
20 ;; Please specify emu prefix [optional]
22 (if (or (featurep 'xemacs)
23 (and (fboundp 'set-buffer-multibyte)
24 (subrp (symbol-function 'set-buffer-multibyte))))
28 ;; Please specify prefix for ``apel'' [optional]
29 (setq APEL_PREFIX "apel")
33 ;;; @ optional settings
36 (defvar VERSION_SPECIFIC_LISPDIR
37 (install-detect-elisp-directory PREFIX nil 'version-specific))
39 (setq EMU_DIR (expand-file-name EMU_PREFIX VERSION_SPECIFIC_LISPDIR))
41 ;; It is generated by automatically. Please set variable `PREFIX'.
42 ;; If you don't like default directory tree, please set it.
43 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
44 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
46 (setq APEL_DIR (expand-file-name APEL_PREFIX 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