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 (if (boundp 'VERSION_SPECIFIC_LISPDIR)
20 (add-to-list 'load-path VERSION_SPECIFIC_LISPDIR))
24 (add-latest-path "custom")
26 (add-path default-directory)
28 ;; (or (fboundp 'write-region-as-binary)
29 ;; (error "Please install latest APEL 7.3 or later."))
30 ;; (or (fboundp 'insert-file-contents-as-binary)
31 ;; (error "Please install latest APEL 7.3 or later."))
34 ;;; @ Please specify prefix of install directory.
37 ;; Please specify install path prefix.
38 ;; If it is omitted, shared directory (maybe /usr/local is used).
39 (defvar PREFIX install-prefix)
42 ;; Please specify prefix for ``FLIM'' [optional]
43 (setq FLIM_PREFIX "flim")
47 ;;; @ optional settings
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 (defvar VERSION_SPECIFIC_LISPDIR
56 (install-detect-elisp-directory PREFIX nil 'version-specific))
58 ;; (setq FLIM_DIR (expand-file-name FLIM_PREFIX VERSION_SPECIFIC_LISPDIR))
59 (setq FLIM_DIR (expand-file-name FLIM_PREFIX LISPDIR))
62 (if (boundp 'early-packages)
63 (let ((dirs (append (if early-package-load-path
65 (if late-package-load-path
67 (if last-package-load-path
70 (while (not (file-exists-p
71 (setq dir (car dirs))))
72 (setq dirs (cdr dirs)))
75 ;;; FLIM-CFG ends here