Variable: gptel-default-mode
gptel-default-mode is a customizable variable defined in gptel.el.
Value
text-mode
Documentation
The default major mode for dedicated chat buffers.
If markdown-mode is available, it is used. Otherwise gptel
defaults to text-mode.
Source Code
;; Defined in /nix/store/q3r7g81pvghw7a523kjk2k2zih3pfk8z-emacs-packages-deps/share/emacs/site-lisp/elpa/gptel-20261002.545/gptel.el
(defcustom gptel-default-mode (if (fboundp 'markdown-mode)
'markdown-mode
'text-mode)
"The default major mode for dedicated chat buffers.
If `markdown-mode' is available, it is used. Otherwise gptel
defaults to `text-mode'."
:type 'function
:group 'gptel)