src/middleware/load-file.lisp @ cfbc5d205fbd

Add in-package option for `eval`
author Steve Losh <steve@stevelosh.com>
date Sat, 02 Jul 2016 17:20:41 +0000
parents 7d0cd39ee703
children 919ebd924aac
(in-package #:nrepl)

(define-middleware wrap-load-file "load-file" message
  (let ((path (fset:lookup message "path")))
    (evaluate-forms message (list `(load ,path)))))