Skip to content

Commit

Permalink
Add helper function for CONFIG
Browse files Browse the repository at this point in the history
CONFIG* accesses the configuration for the current package
  • Loading branch information
kephas committed Dec 13, 2014
1 parent 3643dbf commit 180312f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/envy.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@
(if key
(getf (package-config package-name) key)
(package-config package-name)))

(defun config* (&optional key)
(config (package-name *package*) key))

0 comments on commit 180312f

Please sign in to comment.