Next Prev Up Top Contents Index

location

Macro
Summary

Returns the source location.

Package

dspec

Signature

location => location

Values

location

A pathname or a keyword.

Description

The macro location returns a location suitable for passing to record-definition. This is usually done via a separate defining function.

Example
(defmacro define-wibble (x y) 
  `(dspec:def (define-wibble ,x) 
     (set-wibble-definition ',x ',y (dspec:location))))
 
(defun set-wibble-definition (x y loc) 
  (when (record-definition `(define-wibble ,x) loc)
    ;; defining code here
    )) 
See also

at-location
def


LispWorks Reference Manual - 25 Jul 2003

Next Prev Up Top Contents Index