gptel: return the gptel buffer
* gptel.el (gptel): `gptel' returns the buffer after creating or switching to it. This is useful for other commands that call `gptel'.
This commit is contained in:
parent
44045be327
commit
acf12ee6e3
1 changed files with 2 additions and 1 deletions
3
gptel.el
3
gptel.el
|
@ -609,7 +609,8 @@ buffer created or switched to."
|
||||||
(goto-char (point-max))
|
(goto-char (point-max))
|
||||||
(skip-chars-backward "\t\r\n")
|
(skip-chars-backward "\t\r\n")
|
||||||
(message "Send your query with %s!"
|
(message "Send your query with %s!"
|
||||||
(substitute-command-keys "\\[gptel-send]"))))
|
(substitute-command-keys "\\[gptel-send]"))
|
||||||
|
(current-buffer)))
|
||||||
|
|
||||||
(defun gptel--convert-markdown->org (str)
|
(defun gptel--convert-markdown->org (str)
|
||||||
"Convert string STR from markdown to org markup.
|
"Convert string STR from markdown to org markup.
|
||||||
|
|
Loading…
Add table
Reference in a new issue