blob: 584f442eb703be3c2703e38ff5103ec92a3adaf6 (
plain)
1
2
3
4
5
6
7
8
|
(defmacro inc (x &optional (val 1))
`(setf ,x (+ ,val ,x)))
;; For system arguments
(defmacro when-option ((options opt) &body body)
`(let ((it (getf ,options ,opt)))
(when it
,@body)))
|