[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [femlisp-user] Automatic loading of own files
From: |
Nicolas Neuss |
Subject: |
Re: [femlisp-user] Automatic loading of own files |
Date: |
18 Sep 2003 16:51:30 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Jens Eberhard <address@hidden> writes:
> Dear Nico, dear all,
>
> I've a question about the file-list which is automatically loaded by
> starting Femlisp: Is it possible to append some own lisp files at the end
> in order to have them loaded by starting Femlisp??
>
> Bye Jens
I would not change Femlisp code for this sort of thing. I would suggest to
put your code in an own directory (e.g. "femlisp:src;jens", but you can
also put it out of the femlisp directory). In this directory define an own
system femlisp-jens or whatever. For example, you can put something like
the code below in a file "femlisp:src;jens;start.lisp".
Then load this file in your initialization procedure after you have loaded
Femlisp.
Nicolas.
--------------------------------->cut here<--------------------------------
;;; -*- Lisp -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; femlisp-jens.system - System Definition for femlisp-jens
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(in-package :cl-user)
(mk::defsystem femlisp-jens
:source-pathname "femlisp:src;jens"
:source-extension "lisp"
:depends-on ("femlisp-utilities" "femlisp")
:components
(
(:module "stuff-1"
:depends-on ()
:source-pathname "stuff-1"
:source-extension "lisp"
:components
((:file "stuff-1-a")
(:file "stuff-1-b")))
(:module "stuff-2"
:depends-on ("stuff-1")
:source-pathname "stuff-2"
:source-extension "lisp"
:components
((:file "stuff-2-a")
(:file "stuff-2-b")))
) ; modules
)
(mk:oos 'femlisp-jens 'compile :minimal-load t :verbose t :compile-during-load
t)
--------------------------------->cut here<--------------------------------