Commit c6dc3d78 authored by Liam M. Healy's avatar Liam M. Healy
Browse files

Allow computation in plist-variables

parent 35703c36
;; Dataflow with plists
;; Liam Healy 2014-07-16 11:39:11EDT plist.lisp
;; Time-stamp: <2014-07-16 11:53:38EDT plist.lisp>
;; Time-stamp: <2014-07-24 16:15:03EDT plist.lisp>
;; Copyright 2014 Liam M. Healy
;; Distributed under the terms of the GNU General Public License
......@@ -28,7 +28,10 @@
"Make a plist of all the named variables with keyword keys for the variable names."
(cons 'list
(loop for item in items
appending (list (alexandria:make-keyword item) item))))
appending
(if (symbolp item)
(list (alexandria:make-keyword item) item)
(list (alexandria:make-keyword (first item)) (second item))))))
(defun table-plist (plist)
"Format the plist into an org-mode table."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment