From: shuhei-k Date: Mon, 5 Apr 1999 15:41:26 +0000 (+0000) Subject: Make easier to install in VERSION_SPECIFIC_LISPDIR. X-Git-Tag: flim-1_12_6~18 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=d6c8db250b789c2a9047f6db2b402684e06dbbdd;p=elisp%2Fflim.git Make easier to install in VERSION_SPECIFIC_LISPDIR. --- 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