/
APEL-CFG
45 lines (32 loc) · 1.02 KB
/
APEL-CFG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
;;; -*-Emacs-Lisp-*-
;;;
;;; $Id$
;;;
(defvar default-load-path load-path)
(setq load-path (cons (expand-file-name ".") load-path))
(require 'install)
;;; @ Please specify prefix of install directory.
;;;
;; Please specify install path prefix.
;; If it is omitted, shared directory (maybe /usr/local is used).
(defvar PREFIX install-prefix)
;;(setq PREFIX "~/")
;; Please specify emu prefix [optional]
(setq EMU_PREFIX
(if (string-match "XEmacs" emacs-version)
"emu"
""))
;; Please specify prefix for ``apel'' [optional]
(setq APEL_PREFIX "apel")
;;; @ optional settings
;;;
(setq EMU_DIR
(expand-file-name
EMU_PREFIX
(install-detect-elisp-directory PREFIX nil 'version-specific)))
;; It is generated by automatically. Please set variable `PREFIX'.
;; If you don't like default directory tree, please set it.
(defvar LISPDIR (install-detect-elisp-directory PREFIX))
;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
(setq APEL_DIR (expand-file-name APEL_PREFIX LISPDIR))
;;; APEL-CFG ends here