Fix list-buffers

This commit is contained in:
Phil Bajsicki 2025-04-25 21:15:10 +02:00
parent a4b1d094f4
commit 6628097077
2 changed files with 2 additions and 2 deletions

View file

@ -250,7 +250,7 @@ Seems to be one of the most reliable tools in the basket... mostly because
#+begin_src elisp
(defun gptel-org-tool--list-buffers (&optional arg)
(list-buffers-noselect)
(with-temp-buffer "*Buffer List*"
(with-current-buffer "*Buffer List*"
(let ((content (buffer-string)))
content)))

View file

@ -63,7 +63,7 @@
(defun gptel-org-tool--list-buffers (&optional arg)
(list-buffers-noselect)
(with-temp-buffer "*Buffer List*"
(with-current-buffer "*Buffer List*"
(let ((content (buffer-string)))
content)))