3 ;; FLIM-CFG: installation setting about FLIM.
7 (defvar default-load-path load-path)
9 (add-to-list 'load-path
10 (expand-file-name "../../site-lisp/apel" data-directory))
14 (add-to-list 'default-load-path LISPDIR)
15 (add-to-list 'load-path LISPDIR)
16 (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
19 (defvar VERSION_SPECIFIC_LISPDIR nil)
21 (if VERSION_SPECIFIC_LISPDIR
22 (add-to-list 'load-path VERSION_SPECIFIC_LISPDIR))
26 (add-latest-path "custom")
28 (add-path default-directory)
30 (or (fboundp 'write-region-as-binary)
31 (error "Please install latest APEL 7.3 or later."))
32 (or (fboundp 'insert-file-contents-as-binary)
33 (error "Please install latest APEL 7.3 or later."))
36 ;;; @ Please specify prefix of install directory.
39 ;; Please specify install path prefix.
40 ;; If it is omitted, shared directory (maybe /usr/local is used).
41 (defvar PREFIX install-prefix)
44 ;; Please specify prefix for ``FLIM'' [optional]
45 (setq FLIM_PREFIX "flim")
49 ;;; @ optional settings
52 ;; It is generated by automatically. Please set variable `PREFIX'.
53 ;; If you don't like default directory tree, please set it.
54 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
55 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
57 (setq FLIM_DIR (expand-file-name FLIM_PREFIX LISPDIR))
60 (if (boundp 'early-packages)
61 (let ((dirs (append (if early-package-load-path
63 (if late-package-load-path
65 (if last-package-load-path
68 (while (not (file-exists-p
69 (setq dir (car dirs))))
70 (setq dirs (cdr dirs)))
73 ;;; FLIM-CFG ends here