Created
December 30, 2019 23:21
-
-
Save matthew-piziak/8b8f5667c0318791e7c89bb31408a36c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq pred-action-one '(nil (print "one"))) | |
(setq pred-action-two '(t (print "two"))) | |
(eval `(cond ,pred-action-one ,pred-action-two)) |
informatimago
commented
Dec 31, 2019
@informatimago Thank you! <3
I went with (some #'funcall '(pred-action-one pred-action-two))
and made the functions simple if statements. :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment