branch: elpa/gptel commit 55acb9d827ade748b4112641354f2cf7e7c30c95 Author: Karthik Chikmagalur <karthikchikmaga...@gmail.com> Commit: Karthik Chikmagalur <karthikchikmaga...@gmail.com>
gptel: Use minimal display-buffer action * gptel.el (gptel-display-buffer-action): Set to a minimal action that selects the gptel window, to avoid conflicts with the user's `display-buffer-base-action' customization. (#533) --- gptel.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gptel.el b/gptel.el index b1b591cff7..98d3c1e2d6 100644 --- a/gptel.el +++ b/gptel.el @@ -378,7 +378,8 @@ When set to nil, use the mode line for (minimal) status information and the echo area for messages." :type 'boolean) -(defcustom gptel-display-buffer-action '(pop-to-buffer) +;; Set minimally to avoid display-buffer action alist conflicts (#533) +(defcustom gptel-display-buffer-action `(nil (body-function . ,#'select-window)) "The action used to display gptel chat buffers. The gptel buffer is displayed in a window using