mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 12:21:20 +00:00
Haha, I can write claude's conversation to a file
This commit is contained in:
parent
a33ad42fbe
commit
790b4666f3
1 changed files with 9 additions and 0 deletions
|
|
@ -269,5 +269,14 @@
|
||||||
:around
|
:around
|
||||||
#'always-expand-mail-abbrevs-in-commit-buffer)
|
#'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)
|
(provide 'work-config)
|
||||||
;;; work-config.el ends here
|
;;; work-config.el ends here
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue