Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defmacro save-variable ((variable &optional new) &body body)
- (let ((name (gensym)))
- `(let ((,name (or ,new ,variable))) ,@body (setf ,variable ,name))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement