Skip to content

Instantly share code, notes, and snippets.

@dvliman
Last active August 27, 2024 16:01
Show Gist options
  • Save dvliman/93c1df9f053565de880392d966ee0572 to your computer and use it in GitHub Desktop.
Save dvliman/93c1df9f053565de880392d966ee0572 to your computer and use it in GitHub Desktop.
(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