X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=FLIM-CFG;h=dc12cdea29f06a9fd33206eb786a52e8c6027f0e;hb=41e4fd4242e2a1f959c312e74854025cbb9d0f80;hp=05736cedd74ee01660045df15628d48c2c49626f;hpb=ced4c9a9f8dd236316a321a2d309c5b60aca49f2;p=elisp%2Fflim.git diff --git a/FLIM-CFG b/FLIM-CFG index 05736ce..dc12cde 100644 --- a/FLIM-CFG +++ b/FLIM-CFG @@ -6,6 +6,19 @@ (defvar default-load-path load-path) +(if (fboundp 'add-to-list) + nil + ;; Emacs 19.29 emulating function. + (defun add-to-list (list-var element) + (set list-var (cons element (symbol-value list-var)))) + ) + +(if (boundp 'data-directory) + nil + ;; Emacs 19 emulating variable. + (defvar data-directory exec-directory) + ) + (add-to-list 'load-path (expand-file-name "../../site-lisp/apel" data-directory)) @@ -19,6 +32,11 @@ (if (boundp 'VERSION_SPECIFIC_LISPDIR) (add-to-list 'load-path VERSION_SPECIFIC_LISPDIR)) +(if (fboundp 'member) + nil + ;; It is needed because the function `add-path' uses it. + (require 'poe)) + (require 'install) (add-latest-path "custom")