Last active
August 27, 2024 16:01
-
-
Save dvliman/93c1df9f053565de880392d966ee0572 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
(defun user-reset-log-store () | |
(interactive) | |
(cider-interactive-eval "(reset! user/log-store {})")) | |
(defun user-tags () | |
(interactive) | |
(cider--pprint-eval-form "(user/tags)")) | |
(defun user-logs (&optional index-or-name) | |
(interactive) | |
(let* ((form (read-from-minibuffer "index-or-name: " index-or-name)) | |
(command (if (string-match form "") | |
"(user/tags)" | |
(format "(user/logs %s first)" form)))) | |
(cider--pprint-eval-form command))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment