From 790b4666f3aea6b80a97bb3edc11b79306b8b871 Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Fri, 20 Mar 2026 16:06:41 -0500 Subject: [PATCH] Haha, I can write claude's conversation to a file --- lisp/ti-config/work-config.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lisp/ti-config/work-config.el b/lisp/ti-config/work-config.el index fd41172..29023e1 100644 --- a/lisp/ti-config/work-config.el +++ b/lisp/ti-config/work-config.el @@ -269,5 +269,14 @@ :around #'always-expand-mail-abbrevs-in-commit-buffer) +(use-package claude-code + :config + (defun claude-code-write-to-file () + (interactive) + (let ((str (buffer-string))) + (with-temp-buffer + (insert str) + (call-interactively #'write-file))))) + (provide 'work-config) ;;; work-config.el ends here