Skip to content

Instantly share code, notes, and snippets.

(defun always-nil (&args)
nil)
;; Still some weird things with non-pprint eval going on
(advice-add 'cider-pprint-eval-last-sexp :filter-return #'always-nil)
(advice-add 'cider-pprint-eval-defun-at-point :filter-return #'always-nil)
(advice-add 'cider-pprint-eval-last-sexp-to-comment :filter-return #'always-nil)
(advice-add 'cider-pprint-eval-defun-to-comment :filter-return #'always-nil)
(advice-add 'cider-eval-last-sexp-and-replace :filter-return #'always-nil)