Fix list-buffers
This commit is contained in:
parent
a4b1d094f4
commit
6628097077
2 changed files with 2 additions and 2 deletions
|
@ -250,7 +250,7 @@ Seems to be one of the most reliable tools in the basket... mostly because
|
||||||
#+begin_src elisp
|
#+begin_src elisp
|
||||||
(defun gptel-org-tool--list-buffers (&optional arg)
|
(defun gptel-org-tool--list-buffers (&optional arg)
|
||||||
(list-buffers-noselect)
|
(list-buffers-noselect)
|
||||||
(with-temp-buffer "*Buffer List*"
|
(with-current-buffer "*Buffer List*"
|
||||||
(let ((content (buffer-string)))
|
(let ((content (buffer-string)))
|
||||||
content)))
|
content)))
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
|
|
||||||
(defun gptel-org-tool--list-buffers (&optional arg)
|
(defun gptel-org-tool--list-buffers (&optional arg)
|
||||||
(list-buffers-noselect)
|
(list-buffers-noselect)
|
||||||
(with-temp-buffer "*Buffer List*"
|
(with-current-buffer "*Buffer List*"
|
||||||
(let ((content (buffer-string)))
|
(let ((content (buffer-string)))
|
||||||
content)))
|
content)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue