From d6c8db250b789c2a9047f6db2b402684e06dbbdd Mon Sep 17 00:00:00 2001 From: shuhei-k Date: Mon, 5 Apr 1999 15:41:26 +0000 Subject: [PATCH] Make easier to install in VERSION_SPECIFIC_LISPDIR. --- FLIM-CFG | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/FLIM-CFG b/FLIM-CFG index 57565ab..e4fbd65 100644 --- a/FLIM-CFG +++ b/FLIM-CFG @@ -16,9 +16,7 @@ (add-to-list 'load-path (expand-file-name "apel" LISPDIR)) )) -(defvar VERSION_SPECIFIC_LISPDIR nil) - -(if VERSION_SPECIFIC_LISPDIR +(if (boundp 'VERSION_SPECIFIC_LISPDIR) (add-to-list 'load-path VERSION_SPECIFIC_LISPDIR)) (require 'install) @@ -54,6 +52,10 @@ (defvar LISPDIR (install-detect-elisp-directory PREFIX)) ;; (setq install-default-elisp-directory "~/lib/emacs/lisp") +(defvar VERSION_SPECIFIC_LISPDIR + (install-detect-elisp-directory PREFIX nil 'version-specific)) + +;; (setq FLIM_DIR (expand-file-name FLIM_PREFIX VERSION_SPECIFIC_LISPDIR)) (setq FLIM_DIR (expand-file-name FLIM_PREFIX LISPDIR)) (defvar PACKAGEDIR -- 1.7.10.4