forked from chise/ids
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIDS-CFG
40 lines (27 loc) · 737 Bytes
/
IDS-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
;;; -*-Emacs-Lisp-*-
;; IDS-CFG: installation setting about IDS.
;;; Code:
(add-to-list 'load-path (expand-file-name "."))
(condition-case nil
(require 'install)
(error (error "Please install APEL.")))
;;; @ Please specify prefix of install directory.
;;;
;; Please specify IDS prefix [optional]
(setq IDS_PREFIX "ids")
;;; @ optional settings
;;;
(defvar PACKAGEDIR
(if (boundp 'early-packages)
(let ((dirs (append (if early-package-load-path
early-packages)
(if late-package-load-path
late-packages)
(if last-package-load-path
last-packages)))
dir)
(while (not (file-exists-p
(setq dir (car dirs))))
(setq dirs (cdr dirs)))
dir)))
;;; IDS-CFG ends here