;; If you use "new custom" but do not use "subdirs.el" to add "custom"
;; to your load-path, uncomment and edit this.
-;; (add-latest-path "custom")
+;; (setq load-path
+;; (cons "/usr/local/share/emacs/19.34/site-lisp/custom" load-path))
;;; Install to home directory.
;;; Code:
-;;; Standard configuration variables.
+;;; Configuration variables.
;; These two variables will be generated from other variables below.
(defvar APEL_DIR nil)
;; Install to "apel" subdirectory.
(defvar APEL_PREFIX "apel")
+;; Install to "emu" subdirectory if emacs supports some features.
(defvar EMU_PREFIX
(if (or (featurep 'xemacs)
(fboundp 'normal-top-level-add-subdirs-to-load-path))
;; (setq EMU_PREFIX "emu")
""))
-;; Detect site-lisp directories.
+;; We can load APEL modules safely;-)
(defvar default-load-path load-path)
(setq load-path (cons (expand-file-name ".") load-path))
(require 'poe)
(require 'path-util)
(require 'install)
-;; override everything you want.
+;; Override everything you want.
(load-file "APEL-CFG")
;; The following four variables will be overrided by command line options.
(byte-compile-file (expand-file-name "custom-load.el" dir)))))
-;;; Tools for Configure, Compile, and Install.
+;;; Configure, Compile, and Install.
(defun config-apel ()
(let (prefix lisp-dir version-specific-lisp-dir)