acaddoc.lsp [src]
Init file. This file is the entrypoint into the code base
(calc-src-dir)
Return the source directory for the current user
If the user is a developer, set *dev-mode* to t.
(psc-autoload cmds)
Used in s::startup to register autoloads
CMDS is a list whose car is a filename and cdr is a list of command names.
This function uses psc-include as its load mechanism. It registers all the commands as
command functions that only load their defining file, which causes them to redefine
themselves after first run.
(psc-include filenames)
Include all files in FILENAMES
Load each file and add it to psc-included-files. Ignore files that are already present
there. Assumes the file lives in psc-src-dir.
(psc-load *file-name*)
Alias for load so that *FILE-NAME* is set automatically for each file
Assumes the file lives in psc-src-dir. Returns the file name as a string.
(psc-remove filenames)
Remove all members of FILENAMES from psc-included-files
(s::startup)
Routine automatically called by AutoCAD after drawing initializes
(set-file-docstring docstring)
Registers the current file's docstring
When *doc-build-p* is non-nil, set global *file-docstring* to DOCSTRING and register it in
the global *file-docs*. This instructs defun-r to register function documentation.